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

Unified Diff: cc/picture_layer.cc

Issue 11882037: Activate LayerImpl tree with sync+push instead of pointer swap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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/nine_patch_layer_impl.cc ('k') | cc/picture_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer.cc
diff --git a/cc/picture_layer.cc b/cc/picture_layer.cc
index 9114d6f2cd0cbb3cfd937ee8b7ebc7a779140726..606cf2e7a397af4b3ee8fd9ef087cf7f9bc61f5e 100644
--- a/cc/picture_layer.cc
+++ b/cc/picture_layer.cc
@@ -36,7 +36,7 @@ void PictureLayer::pushPropertiesTo(LayerImpl* base_layer) {
PictureLayerImpl* layer_impl = static_cast<PictureLayerImpl*>(base_layer);
layer_impl->SetIsMask(is_mask_);
- layer_impl->tilings_.SetLayerBounds(bounds());
+ layer_impl->CreateTilingSet();
layer_impl->invalidation_.Clear();
layer_impl->invalidation_.Swap(pile_invalidation_);
pile_->PushPropertiesTo(layer_impl->pile_);
« no previous file with comments | « cc/nine_patch_layer_impl.cc ('k') | cc/picture_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698