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

Unified Diff: cc/layers/picture_layer.cc

Issue 1050103003: Revert of Revert of Implement DisplayList GatherPixelRefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/output/renderer_pixeltest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer.cc
diff --git a/cc/layers/picture_layer.cc b/cc/layers/picture_layer.cc
index ad1d5a0fc7d091019f5ac25c6a2726f2c003bb12..d9b0e046c829219eecd188282f826ae56223dd4f 100644
--- a/cc/layers/picture_layer.cc
+++ b/cc/layers/picture_layer.cc
@@ -87,7 +87,8 @@
if (!recording_source_) {
if (host->settings().use_display_lists) {
- recording_source_.reset(new DisplayListRecordingSource);
+ recording_source_.reset(new DisplayListRecordingSource(
+ host->settings().default_tile_grid_size));
} else {
recording_source_.reset(
new PicturePile(host->settings().minimum_contents_scale,
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/output/renderer_pixeltest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698