Index: third_party/WebKit/Source/platform/graphics/GeneratedImage.h |
diff --git a/third_party/WebKit/Source/platform/graphics/GeneratedImage.h b/third_party/WebKit/Source/platform/graphics/GeneratedImage.h |
index fadc7551fe81729c111f2b9ddcca42ba45b21324..330bd7b258303e936b7f521c7967461f738c44ce 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GeneratedImage.h |
+++ b/third_party/WebKit/Source/platform/graphics/GeneratedImage.h |
@@ -28,7 +28,7 @@ |
#include "platform/geometry/IntSize.h" |
#include "platform/graphics/Image.h" |
-#include "wtf/RefPtr.h" |
+#include "third_party/skia/include/core/SkRefCnt.h" |
namespace blink { |
@@ -44,7 +44,7 @@ public: |
// Assume that generated content has no decoded data we need to worry about |
void destroyDecodedData() override { } |
- PassRefPtr<SkImage> imageForCurrentFrame() override; |
+ sk_sp<SkImage> imageForCurrentFrame() override; |
protected: |
void drawPattern(GraphicsContext&, const FloatRect&, |