Index: third_party/WebKit/Source/platform/graphics/Image.h |
diff --git a/third_party/WebKit/Source/platform/graphics/Image.h b/third_party/WebKit/Source/platform/graphics/Image.h |
index ee10fe1121c75b0f894a6d142d950e2c8faf2370..173502d076901f78386771acdf3bb87b0fe29383 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Image.h |
+++ b/third_party/WebKit/Source/platform/graphics/Image.h |
@@ -35,6 +35,7 @@ |
#include "platform/graphics/ImageAnimationPolicy.h" |
#include "platform/graphics/ImageObserver.h" |
#include "platform/graphics/ImageOrientation.h" |
+#include "third_party/skia/include/core/SkRefCnt.h" |
#include "wtf/Assertions.h" |
#include "wtf/Noncopyable.h" |
#include "wtf/PassRefPtr.h" |
@@ -141,7 +142,7 @@ public: |
enum TileRule { StretchTile, RoundTile, SpaceTile, RepeatTile }; |
- virtual PassRefPtr<SkImage> imageForCurrentFrame() = 0; |
+ virtual sk_sp<SkImage> imageForCurrentFrame() = 0; |
virtual PassRefPtr<Image> imageForDefaultFrame(); |
virtual void drawPattern(GraphicsContext&, const FloatRect&, |