Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / graphics / DisplayList.h
index 7474a95..5b44700 100644 (file)
@@ -43,7 +43,7 @@ namespace blink {
 
 class IntSize;
 
-class PLATFORM_EXPORT DisplayList FINAL : public WTF::RefCounted<DisplayList> {
+class PLATFORM_EXPORT DisplayList final : public WTF::RefCounted<DisplayList> {
     WTF_MAKE_FAST_ALLOCATED;
     WTF_MAKE_NONCOPYABLE(DisplayList);
 public:
@@ -60,7 +60,7 @@ public:
     // recording (i.e., between a GraphicsContext beginRecording/endRecording pair)
     // and if no recording has ever been completed. Otherwise it will return
     // the picture created by the last endRecording call.
-    SkPicture* picture() const { return m_picture.get(); }
+    PassRefPtr<SkPicture> picture() const { return m_picture; }
     void setPicture(SkPicture* picture) { m_picture = adoptRef(picture); }
 
     // FIXME: Need unit testing of these methods and their effect