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

Unified Diff: cc/layers/layer_unittest.cc

Issue 2171143002: cc: Get rid of non-delegated rendering in most cc unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@killdirecttests
Patch Set: fakeoutputsurface: no-constructor Created 4 years, 5 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_proto_converter_unittest.cc ('k') | cc/layers/nine_patch_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_unittest.cc
diff --git a/cc/layers/layer_unittest.cc b/cc/layers/layer_unittest.cc
index 179e0a50eff8e70f516d90a8e95b500a330eb2f7..bb1a067a7c806ed9ae0d47cca7f14ee2006533b2 100644
--- a/cc/layers/layer_unittest.cc
+++ b/cc/layers/layer_unittest.cc
@@ -108,9 +108,6 @@ namespace cc {
// The tests still have helpful names, and a test with the name FooBar would
// have a wrapper method in this class called RunFooBarTest.
class LayerSerializationTest : public testing::Test {
- public:
- LayerSerializationTest() : fake_client_(FakeLayerTreeHostClient::DIRECT_3D) {}
-
protected:
void SetUp() override {
layer_tree_host_ =
@@ -899,8 +896,7 @@ class LayerTest : public testing::Test {
: host_impl_(LayerTreeSettings(),
&task_runner_provider_,
&shared_bitmap_manager_,
- &task_graph_runner_),
- fake_client_(FakeLayerTreeHostClient::DIRECT_3D) {
+ &task_graph_runner_) {
timeline_impl_ =
AnimationTimeline::Create(AnimationIdProvider::NextTimelineId());
timeline_impl_->set_is_impl_only(true);
@@ -1846,8 +1842,6 @@ TEST_F(LayerTest, MaskAndReplicaHasParent) {
class LayerTreeHostFactory {
public:
- LayerTreeHostFactory() : client_(FakeLayerTreeHostClient::DIRECT_3D) {}
-
std::unique_ptr<LayerTreeHost> Create() {
return Create(LayerTreeSettings());
}
« no previous file with comments | « cc/layers/layer_proto_converter_unittest.cc ('k') | cc/layers/nine_patch_layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698