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 dcb5611f20c864ae55b4eb8ff798bc5331bfa424..8a2c6373479e8a36b015d161bf2923e2cf6b83e3 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
@@ -202,7 +202,7 @@ public: |
// pointers for the layers and timing data will be included in the returned string. |
String layerTreeAsText(LayerTreeFlags = LayerTreeNormal) const; |
- PassRefPtr<JSONObject> layerTreeAsJSON(LayerTreeFlags) const; |
+ std::unique_ptr<JSONObject> layerTreeAsJSON(LayerTreeFlags) const; |
void setTracksPaintInvalidations(bool); |
bool isTrackingOrCheckingPaintInvalidations() const |
@@ -296,7 +296,7 @@ private: |
WebLayer* contentsLayerIfRegistered(); |
typedef HashMap<int, int> RenderingContextMap; |
- PassRefPtr<JSONObject> layerTreeAsJSONInternal(LayerTreeFlags, RenderingContextMap&) const; |
+ std::unique_ptr<JSONObject> layerTreeAsJSONInternal(LayerTreeFlags, RenderingContextMap&) const; |
#if DCHECK_IS_ON() |
PassRefPtr<SkPicture> capturePicture(); |