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

Unified Diff: cc/picture_pile.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/picture_layer_tiling_set.cc ('k') | cc/picture_pile_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_pile.cc
diff --git a/cc/picture_pile.cc b/cc/picture_pile.cc
index fcf746a01b3f3d9af8a9adc5a63f95db292aedd7..362070eaebd256db8ca611dfa3e8e325ee2d1da4 100644
--- a/cc/picture_pile.cc
+++ b/cc/picture_pile.cc
@@ -38,6 +38,7 @@ void PicturePile::Update(
if (!(*i)->HasRecording())
(*i)->Record(painter, stats);
}
+ DCHECK(!pile_.empty());
}
class FullyContainedPredicate {
« no previous file with comments | « cc/picture_layer_tiling_set.cc ('k') | cc/picture_pile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698