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

Unified Diff: cc/layers/picture_layer_impl.cc

Issue 265883013: cc: Add a flag to layers that returns true if the layer is in RSLL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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_impl.cc
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc
index 36e754fb762618f9a364e7ab07d76e5f1df949d0..c0d499ab6084b45f0bc31e27c181dd9150abc0e5 100644
--- a/cc/layers/picture_layer_impl.cc
+++ b/cc/layers/picture_layer_impl.cc
@@ -351,6 +351,7 @@ void PictureLayerImpl::DidUnregisterLayer() {
}
void PictureLayerImpl::UpdateTilePriorities() {
+ DCHECK(is_render_surface_list_member());
DCHECK(!needs_post_commit_initialization_);
CHECK(should_update_tile_priorities_);

Powered by Google App Engine
This is Rietveld 408576698