Index: third_party/WebKit/Source/platform/DragImage.h |
diff --git a/third_party/WebKit/Source/platform/DragImage.h b/third_party/WebKit/Source/platform/DragImage.h |
index 9fd422c758cec7f39a006d5f0e99c59712e05ae1..b254cd5dc7760cdf5c243639b3931b7bb79920ea 100644 |
--- a/third_party/WebKit/Source/platform/DragImage.h |
+++ b/third_party/WebKit/Source/platform/DragImage.h |
@@ -32,6 +32,7 @@ |
#include "platform/graphics/ImageOrientation.h" |
#include "platform/graphics/paint/DisplayItemClient.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
+#include "third_party/skia/include/core/SkRefCnt.h" |
#include "wtf/Allocator.h" |
#include "wtf/Forward.h" |
#include <memory> |
@@ -64,7 +65,7 @@ public: |
void scale(float scaleX, float scaleY); |
- static PassRefPtr<SkImage> resizeAndOrientImage(PassRefPtr<SkImage>, ImageOrientation, FloatSize imageScale = FloatSize(1, 1), float opacity = 1.0, InterpolationQuality = InterpolationNone); |
+ static sk_sp<SkImage> resizeAndOrientImage(sk_sp<SkImage>, ImageOrientation, FloatSize imageScale = FloatSize(1, 1), float opacity = 1.0, InterpolationQuality = InterpolationNone); |
private: |
DragImage(const SkBitmap&, float resolutionScale, InterpolationQuality); |