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

Unified Diff: cc/layers/picture_layer.cc

Issue 1485823005: Remove the record_full_layer layer tree setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 ce8184b3123df75987e076912f6cf96bb2e5adb5..02b20bee4a880a96f6a7c8f3845ce6437fa5d3e0 100644
--- a/cc/layers/picture_layer.cc
+++ b/cc/layers/picture_layer.cc
@@ -139,13 +139,6 @@ bool PictureLayer::Update() {
pending_invalidation_.Swap(&recording_invalidation_);
pending_invalidation_.Clear();
- // TODO(chrishtr): implement this for synchronized paint.
- 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.
- update_rect = gfx::Rect(layer_size);
- }
-
// UpdateAndExpandInvalidation will give us an invalidation that covers
// anything not explicitly recorded in this frame. We give this region
// to the impl side so that it drops tiles that may not have a recording

Powered by Google App Engine
This is Rietveld 408576698