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

Unified Diff: cc/layers/layer.h

Issue 1912893002: cc : Stop pushing properties not used by LayerImpl to LayerImpl. (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/blink/web_layer_impl.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 220a9dba884eacf73e804312c111d895985887b6..6150f0cbd4f0f386472f38fd135eb3f16f8e0665 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -288,8 +288,10 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
did_scroll_callback_ = callback;
}
- void SetForceRenderSurface(bool force_render_surface);
- bool force_render_surface() const { return force_render_surface_; }
+ void SetForceRenderSurfaceForTesting(bool force_render_surface);
+ bool force_render_surface_for_testing() const {
+ return force_render_surface_for_testing_;
+ }
gfx::ScrollOffset CurrentScrollOffset() const { return scroll_offset_; }
@@ -639,7 +641,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
bool use_parent_backface_visibility_ : 1;
bool use_local_transform_for_backface_visibility_ : 1;
bool should_check_backface_visibility_ : 1;
- bool force_render_surface_ : 1;
+ bool force_render_surface_for_testing_ : 1;
bool transform_is_invertible_ : 1;
bool has_render_surface_ : 1;
bool subtree_property_changed_ : 1;
« no previous file with comments | « cc/blink/web_layer_impl.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698