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 8739df7ad45b0bbc2f549a96bcd5b4ef83bae276..fc3060fe614c6de663cc9cdd3d6cdd97418fb33e 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
@@ -290,6 +290,9 @@ private: |
typedef HashMap<int, int> RenderingContextMap; |
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&); |