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

Unified Diff: trunk/src/cc/layers/picture_layer.cc

Issue 347493002: Revert 277964 "cc: In SyncFromActiveLayer, drop all tiles not in..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
« no previous file with comments | « trunk/src/cc/base/tiling_data_unittest.cc ('k') | trunk/src/cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/layers/picture_layer.cc
===================================================================
--- trunk/src/cc/layers/picture_layer.cc (revision 277979)
+++ trunk/src/cc/layers/picture_layer.cc (working copy)
@@ -121,22 +121,16 @@
// the full page content must always be provided in the picture layer.
visible_layer_rect = gfx::Rect(bounds());
}
-
- // 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
- // for them.
DCHECK(client_);
- updated |=
- pile_->UpdateAndExpandInvalidation(client_,
- &pile_invalidation_,
- SafeOpaqueBackgroundColor(),
- contents_opaque(),
- client_->FillsBoundsCompletely(),
- visible_layer_rect,
- update_source_frame_number_,
- RecordingMode(),
- rendering_stats_instrumentation());
+ updated |= pile_->Update(client_,
+ SafeOpaqueBackgroundColor(),
+ contents_opaque(),
+ client_->FillsBoundsCompletely(),
+ pile_invalidation_,
+ visible_layer_rect,
+ update_source_frame_number_,
+ RecordingMode(),
+ rendering_stats_instrumentation());
last_updated_visible_content_rect_ = visible_content_rect();
if (updated) {
« no previous file with comments | « trunk/src/cc/base/tiling_data_unittest.cc ('k') | trunk/src/cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698