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

Unified Diff: cc/test/fake_content_layer_client.cc

Issue 2225563002: Reland "Raster display item lists via a visual rect RTree." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head. Created 4 years, 4 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
« no previous file with comments | « cc/proto/display_item.proto ('k') | cc/test/skia_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_content_layer_client.cc
diff --git a/cc/test/fake_content_layer_client.cc b/cc/test/fake_content_layer_client.cc
index 597eb021dae75afbb5a7e5bea44418440628f601..11c8b3e6cae7c7ba13e8945c45e77870f3fc8105 100644
--- a/cc/test/fake_content_layer_client.cc
+++ b/cc/test/fake_content_layer_client.cc
@@ -55,7 +55,8 @@ FakeContentLayerClient::PaintContentsToDisplayList(
DisplayItemListSettings settings;
settings.use_cached_picture = display_list_use_cached_picture_;
scoped_refptr<DisplayItemList> display_list =
- DisplayItemList::Create(PaintableRegion(), settings);
+ DisplayItemList::Create(settings);
+ display_list->SetRetainVisualRectsForTesting(true);
SkPictureRecorder recorder;
sk_sp<SkCanvas> canvas;
« no previous file with comments | « cc/proto/display_item.proto ('k') | cc/test/skia_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698