Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp

Issue 2751433002: [SPv2] Flatten property trees in PaintRecordBuilder into a single display list. (Closed)
Patch Set: none Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
index 0c6dbef0d0db5010ff49a96711f4de95dc5b3ea6..40efc797ed1fdbca9d147db27276b4b2aaafcdf6 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
@@ -372,7 +372,11 @@ Response InspectorLayerTreeAgent::makeSnapshot(const String& layerId,
GraphicsContext context(layer->getPaintController());
context.beginRecording(interestRect);
- layer->getPaintController().paintArtifact().replay(context);
+ layer->getPaintController().paintArtifact().replay(
+ interestRect, context,
+ layer->getPaintController()
+ .currentPaintChunkProperties()
+ .propertyTreeState);
RefPtr<PictureSnapshot> snapshot =
adoptRef(new PictureSnapshot(ToSkPicture(context.endRecording())));

Powered by Google App Engine
This is Rietveld 408576698