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

Unified Diff: cc/layers/layer_impl_test_properties.h

Issue 1918593002: cc : Stop pushing properties not used by LayerImpl to LayerImpl (3) (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/layers/layer_impl.cc ('k') | cc/layers/layer_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl_test_properties.h
diff --git a/cc/layers/layer_impl_test_properties.h b/cc/layers/layer_impl_test_properties.h
index 1cf885cfd9de23bc3ba880d36797b008ebb207a8..cc4cff41388c50b8579fe00b862468526b70f371 100644
--- a/cc/layers/layer_impl_test_properties.h
+++ b/cc/layers/layer_impl_test_properties.h
@@ -5,18 +5,19 @@
#ifndef CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_
#define CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_
+#include "cc/layers/layer_position_constraint.h"
#include "ui/gfx/geometry/point3_f.h"
namespace cc {
struct LayerImplTestProperties {
- LayerImplTestProperties()
- : transform_origin(gfx::Point3F()),
- double_sided(true),
- force_render_surface(false) {}
+ bool double_sided = true;
+ bool force_render_surface = false;
+ bool is_container_for_fixed_position_layers = false;
+ bool should_flatten_transform = true;
+ int num_descendants_that_draw_content = 0;
+ LayerPositionConstraint position_constraint;
gfx::Point3F transform_origin;
- bool double_sided;
- bool force_render_surface;
};
} // namespace cc
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/layers/layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698