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

Unified Diff: cc/test/layer_tree_host_common_test.cc

Issue 1783613004: CC Animation: Erase cc::LayerSettings everywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eraseandroid
Patch Set: Rebase. Created 4 years, 9 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/test/layer_tree_host_common_test.h ('k') | cc/test/layer_tree_json_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_host_common_test.cc
diff --git a/cc/test/layer_tree_host_common_test.cc b/cc/test/layer_tree_host_common_test.cc
index cbad7e897b476914a4d2e6603865812aa52c78b2..d1a7dc25b643183735a62b201ebc499b174bd117 100644
--- a/cc/test/layer_tree_host_common_test.cc
+++ b/cc/test/layer_tree_host_common_test.cc
@@ -17,8 +17,6 @@ LayerTreeHostCommonTestBase::LayerTreeHostCommonTestBase(
const LayerTreeSettings& settings)
: LayerTestCommon::LayerImplTest(settings),
render_surface_layer_list_count_(0) {
- layer_settings_.use_compositor_animation_timelines =
- settings.use_compositor_animation_timelines;
}
LayerTreeHostCommonTestBase::~LayerTreeHostCommonTestBase() {
@@ -228,15 +226,8 @@ bool LayerTreeHostCommonTestBase::UpdateLayerListContains(int id) const {
return false;
}
-class LayerTreeSettingsForCommonTest : public LayerTreeSettings {
- public:
- LayerTreeSettingsForCommonTest() {
- use_compositor_animation_timelines = true;
- }
-};
-
LayerTreeHostCommonTest::LayerTreeHostCommonTest()
- : LayerTreeHostCommonTestBase(LayerTreeSettingsForCommonTest()) {}
+ : LayerTreeHostCommonTestBase(LayerTreeSettings()) {}
LayerTreeHostCommonTest::LayerTreeHostCommonTest(
const LayerTreeSettings& settings)
« no previous file with comments | « cc/test/layer_tree_host_common_test.h ('k') | cc/test/layer_tree_json_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698