Index: third_party/WebKit/Source/platform/graphics/ImageSource.h |
diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.h b/third_party/WebKit/Source/platform/graphics/ImageSource.h |
index 7bcfd9366225444b7325e178855484a381774116..e09cbe1651111f3cbb859deca136e6661aae98b3 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ImageSource.h |
+++ b/third_party/WebKit/Source/platform/graphics/ImageSource.h |
@@ -29,6 +29,7 @@ |
#include "platform/PlatformExport.h" |
#include "platform/graphics/DeferredImageDecoder.h" |
#include "platform/graphics/ImageOrientation.h" |
+#include "third_party/skia/include/core/SkRefCnt.h" |
#include "wtf/Forward.h" |
#include "wtf/Noncopyable.h" |
#include <memory> |
@@ -85,7 +86,7 @@ public: |
size_t frameCount() const; |
// Attempts to create the requested frame. |
- PassRefPtr<SkImage> createFrameAtIndex(size_t); |
+ sk_sp<SkImage> createFrameAtIndex(size_t); |
float frameDurationAtIndex(size_t) const; |
bool frameHasAlphaAtIndex(size_t) const; // Whether or not the frame actually used any alpha. |