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

Unified Diff: cc/layers/picture_layer.cc

Issue 361073002: Add switch to disable recording whole document (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 6 years, 6 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 61dce741949192a0699c82a2817404f720350eb6..5d5457456f06642c8d173658ef15e58c9a05b841 100644
--- a/cc/layers/picture_layer.cc
+++ b/cc/layers/picture_layer.cc
@@ -116,7 +116,7 @@ bool PictureLayer::Update(ResourceUpdateQueue* queue,
pending_invalidation_.Swap(&pile_invalidation_);
pending_invalidation_.Clear();
- if (layer_tree_host()->settings().using_synchronous_renderer_compositor) {
+ if (layer_tree_host()->settings().record_full_layer) {
// Workaround for http://crbug.com/235910 - to retain backwards compat
// the full page content must always be provided in the picture layer.
visible_layer_rect = gfx::Rect(bounds());

Powered by Google App Engine
This is Rietveld 408576698