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

Unified Diff: cc/test/layer_tree_test.h

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
Index: cc/test/layer_tree_test.h
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index 36a882ccf3a3810d8397b613a0cd7f87edf43953..8418f654aea5a1c4607c90d7ac82d1a754d338a1 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -8,7 +8,6 @@
#include "base/memory/ref_counted.h"
#include "base/threading/thread.h"
#include "cc/animation/animation_delegate.h"
-#include "cc/layers/layer_settings.h"
#include "cc/test/proxy_impl_for_test.h"
#include "cc/test/proxy_main_for_test.h"
#include "cc/test/remote_proto_channel_bridge.h"
@@ -41,8 +40,7 @@ void CreateVirtualViewportLayers(Layer* root_layer,
const gfx::Size& inner_bounds,
const gfx::Size& outer_bounds,
const gfx::Size& scroll_bounds,
- LayerTreeHost* host,
- const LayerSettings& layer_settings);
+ LayerTreeHost* host);
// Creates the virtual viewport layer hierarchy under the given root_layer.
// Uses the given scroll layer as the content "outer viewport scroll layer".
@@ -50,8 +48,7 @@ void CreateVirtualViewportLayers(Layer* root_layer,
scoped_refptr<Layer> outer_scroll_layer,
const gfx::Size& outer_bounds,
const gfx::Size& scroll_bounds,
- LayerTreeHost* host,
- const LayerSettings& layer_settings);
+ LayerTreeHost* host);
class BeginTask;
class LayerTreeHostClientForTesting;
@@ -96,13 +93,10 @@ class LayerTreeTest : public testing::Test, public TestHooks {
void DoBeginTest();
void Timeout();
- const LayerSettings& layer_settings() { return layer_settings_; }
-
protected:
LayerTreeTest();
virtual void InitializeSettings(LayerTreeSettings* settings) {}
- virtual void InitializeLayerSettings(LayerSettings* layer_settings) {}
void RealEndTest();
@@ -198,7 +192,6 @@ class LayerTreeTest : public testing::Test, public TestHooks {
private:
LayerTreeSettings settings_;
- LayerSettings layer_settings_;
CompositorMode mode_;

Powered by Google App Engine
This is Rietveld 408576698