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

Unified Diff: cc/layers/picture_layer.cc

Issue 1045953002: Implement DisplayList GatherPixelRefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add guard for GatherPixelRefs 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
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 @@ void PictureLayer::SetLayerTreeHost(LayerTreeHost* host) {
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,

Powered by Google App Engine
This is Rietveld 408576698