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

Unified Diff: cc/test/fake_layer_tree_host_client.h

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/resources/scoped_resource_unittest.cc ('k') | cc/test/fake_layer_tree_host_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_layer_tree_host_client.h
diff --git a/cc/test/fake_layer_tree_host_client.h b/cc/test/fake_layer_tree_host_client.h
index 1684e3eaa1114119b3e7476c43cf607109babb69..d99bdb3739992f3157121c062cdc0902e4808787 100644
--- a/cc/test/fake_layer_tree_host_client.h
+++ b/cc/test/fake_layer_tree_host_client.h
@@ -18,13 +18,7 @@ class OutputSurface;
class FakeLayerTreeHostClient : public LayerTreeHostClient,
public LayerTreeHostSingleThreadClient {
public:
- enum RendererOptions {
- DIRECT_3D,
- DIRECT_SOFTWARE,
- DELEGATED_3D,
- DELEGATED_SOFTWARE
- };
- explicit FakeLayerTreeHostClient(RendererOptions options);
+ FakeLayerTreeHostClient();
~FakeLayerTreeHostClient() override;
// Caller responsible for unsetting this and maintaining the host's lifetime.
@@ -55,10 +49,7 @@ class FakeLayerTreeHostClient : public LayerTreeHostClient,
void DidAbortSwapBuffers() override {}
private:
- bool use_software_rendering_;
- bool use_delegating_renderer_;
-
- LayerTreeHost* host_;
+ LayerTreeHost* host_ = nullptr;
};
} // namespace cc
« no previous file with comments | « cc/resources/scoped_resource_unittest.cc ('k') | cc/test/fake_layer_tree_host_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698