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

Unified Diff: cc/layers/layer_impl.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
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 432a70c681e33a598e64a9a823034bddfa015bfd..0be7e3852c991e83694405560a8313b354af2506 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -160,7 +160,6 @@ class CC_EXPORT LayerImpl {
// For compatibility with Layer.
bool has_render_surface() const { return !!render_surface(); }
- bool force_render_surface() const { return force_render_surface_; }
void SetNumDescendantsThatDrawContent(int num_descendants);
void SetClipParent(LayerImpl* ancestor);
@@ -455,9 +454,6 @@ class CC_EXPORT LayerImpl {
return touch_event_handler_region_;
}
- void SetDoubleSided(bool double_sided);
- bool double_sided() const { return double_sided_; }
-
void SetTransform(const gfx::Transform& transform);
const gfx::Transform& transform() const { return transform_; }
bool TransformIsAnimating() const;
@@ -652,8 +648,6 @@ class CC_EXPORT LayerImpl {
bool user_scrollable_horizontal_ : 1;
bool user_scrollable_vertical_ : 1;
- // Whether the "back" of this layer should draw.
- bool double_sided_ : 1;
bool should_flatten_transform_ : 1;
bool should_flatten_transform_from_property_tree_ : 1;
@@ -741,8 +735,6 @@ class CC_EXPORT LayerImpl {
base::trace_event::ConvertableToTraceFormat* debug_info_;
std::unique_ptr<RenderSurfaceImpl> render_surface_;
- bool force_render_surface_;
-
bool scrolls_drawn_descendant_;
// If true, the layer or one of its descendants has a touch handler.
bool layer_or_descendant_has_touch_handler_;

Powered by Google App Engine
This is Rietveld 408576698