Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
index 159518252575da20b3257004af1ee199d3184465..924d4e4c704307ca061b710a22e06d2814025159 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
@@ -50,6 +50,7 @@ |
#include "public/platform/WebImageLayer.h" |
#include "public/platform/WebLayerScrollClient.h" |
#include "third_party/skia/include/core/SkFilterQuality.h" |
+#include "third_party/skia/include/core/SkRefCnt.h" |
#include "wtf/Vector.h" |
#include <memory> |
@@ -294,7 +295,7 @@ private: |
typedef HashMap<int, int> RenderingContextMap; |
std::unique_ptr<JSONObject> layerTreeAsJSONInternal(LayerTreeFlags, RenderingContextMap&) const; |
- PassRefPtr<SkPicture> capturePicture(); |
+ sk_sp<SkPicture> capturePicture(); |
void checkPaintUnderInvalidations(const SkPicture&); |
GraphicsLayerClient* m_client; |