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

Unified Diff: cc/layers/layer_impl.h

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/effect_tree_layer_list_iterator.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index dabe56204c378a1dfac0e5957fa392172c91d4d3..852a2216c0ee33dbaaa3e26a06e82a57919eff12 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -381,16 +381,16 @@ class CC_EXPORT LayerImpl {
void SetDebugInfo(
std::unique_ptr<base::trace_event::ConvertableToTraceFormat> debug_info);
- void set_is_drawn_render_surface_layer_list_member(bool is_member) {
- is_drawn_render_surface_layer_list_member_ = is_member;
+ void set_contributes_to_drawn_render_surface(bool is_member) {
+ contributes_to_drawn_render_surface_ = is_member;
}
- bool is_drawn_render_surface_layer_list_member() const {
- return is_drawn_render_surface_layer_list_member_;
+ bool contributes_to_drawn_render_surface() const {
+ return contributes_to_drawn_render_surface_;
}
bool IsDrawnScrollbar() {
- return ToScrollbarLayer() && is_drawn_render_surface_layer_list_member_;
+ return ToScrollbarLayer() && contributes_to_drawn_render_surface_;
}
void set_may_contain_video(bool yes) { may_contain_video_ = yes; }
@@ -501,7 +501,7 @@ class CC_EXPORT LayerImpl {
bool use_local_transform_for_backface_visibility_ : 1;
bool should_check_backface_visibility_ : 1;
bool draws_content_ : 1;
- bool is_drawn_render_surface_layer_list_member_ : 1;
+ bool contributes_to_drawn_render_surface_ : 1;
// This is true if and only if the layer was ever ready since it last animated
// (all content was complete).
« no previous file with comments | « cc/layers/effect_tree_layer_list_iterator.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698