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 55fbed9fbc00a33663c6558e6306d5e554cf43ac..bcb7bc8d207f3ebcb9c7cf010c2b08c7f3c2c9c7 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> |
@@ -299,7 +300,7 @@ private: |
std::unique_ptr<JSONObject> layerTreeAsJSONInternal(LayerTreeFlags, RenderingContextMap&) const; |
#if DCHECK_IS_ON() |
- PassRefPtr<SkPicture> capturePicture(); |
+ sk_sp<SkPicture> capturePicture(); |
void checkPaintUnderInvalidations(const SkPicture&); |
#endif |