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 f9ad7baa748fbcd6d973d71e78714c3509d2f1e6..f7a4c9deb74d15da729e5780ed3e08acdd3eab51 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
@@ -315,6 +315,12 @@ class PLATFORM_EXPORT GraphicsLayer : public WebLayerScrollClient, |
std::unique_ptr<JSONObject> layerTreeAsJSONInternal( |
LayerTreeFlags, |
RenderingContextMap&) const; |
+ // Outputs the layer tree rooted at |this| as a JSON array, in paint order. |
+ void layersAsJSONArray(LayerTreeFlags, |
+ RenderingContextMap&, |
+ JSONArray*) const; |
+ std::unique_ptr<JSONObject> layerAsJSONInternal(LayerTreeFlags, |
+ RenderingContextMap&) const; |
sk_sp<SkPicture> capturePicture(); |
void checkPaintUnderInvalidations(const SkPicture&); |