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

Unified Diff: cc/layers/picture_layer_impl.cc

Issue 2851193002: cc: Rename LayerImpl::is_drawn_render_surface_layer_list_member (Closed)
Patch Set: Rebase Created 3 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
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/layers/picture_layer_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl.cc
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc
index 0dc23e236e842bef55803475a304d452a055a21a..1493709212f89ff8d4488cf3ed1f15ab93956b75 100644
--- a/cc/layers/picture_layer_impl.cc
+++ b/cc/layers/picture_layer_impl.cc
@@ -1403,9 +1403,8 @@ bool PictureLayerImpl::IsOnActiveOrPendingTree() const {
}
bool PictureLayerImpl::HasValidTilePriorities() const {
- return IsOnActiveOrPendingTree() &&
- (is_drawn_render_surface_layer_list_member() ||
- raster_even_if_not_in_rsll());
+ return IsOnActiveOrPendingTree() && (contributes_to_drawn_render_surface() ||
+ raster_even_if_not_in_rsll());
}
void PictureLayerImpl::InvalidateRegionForImages(
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/layers/picture_layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698