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

Unified Diff: cc/test/solid_color_content_layer_client.cc

Issue 1423653005: Further plumb visual rect into cc:DisplayItemList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More feedback integration. Created 5 years, 1 month 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: cc/test/solid_color_content_layer_client.cc
diff --git a/cc/test/solid_color_content_layer_client.cc b/cc/test/solid_color_content_layer_client.cc
index ed84bec41815855c08c567f93002dcdebc0eb556..4262c92ab7b3671e1d32bf221104ed30974b01f0 100644
--- a/cc/test/solid_color_content_layer_client.cc
+++ b/cc/test/solid_color_content_layer_client.cc
@@ -35,7 +35,7 @@ SolidColorContentLayerClient::PaintContentsToDisplayList(
settings.use_cached_picture = false;
scoped_refptr<DisplayItemList> display_list =
DisplayItemList::Create(clip, settings);
- auto* item = display_list->CreateAndAppendItem<DrawingDisplayItem>();
+ auto* item = display_list->CreateAndAppendItem<DrawingDisplayItem>(clip);
skia::RefPtr<SkPicture> picture =
skia::AdoptRef(recorder.endRecordingAsPicture());

Powered by Google App Engine
This is Rietveld 408576698