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

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 f5c5dda2b4107661ea450afcc98b4e9d489f5368..c37d9efc7efdcdf7595641c89a03371295427df9 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
@@ -372,7 +372,7 @@ Response InspectorLayerTreeAgent::makeSnapshot(const String& layerId,
GraphicsContext context(layer->getPaintController());
context.beginRecording(interestRect);
- layer->getPaintController().paintArtifact().replay(context);
+ layer->getPaintController().paintArtifact().replay(interestRect, context);
RefPtr<PictureSnapshot> snapshot =
adoptRef(new PictureSnapshot(ToSkPicture(context.endRecording())));

Powered by Google App Engine
This is Rietveld 408576698