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

Unified Diff: cc/test/fake_layer_tree_host_client.cc

Issue 251343002: Remove offscreen compositor contexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-offscreencontext: include Created 6 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/test/fake_layer_tree_host_client.h ('k') | cc/test/fake_output_surface_client.h » ('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.cc
diff --git a/cc/test/fake_layer_tree_host_client.cc b/cc/test/fake_layer_tree_host_client.cc
index 1ee0bb80c17cd4835e87ad2b7dd15af17886c642..975f6878cc5dff1ffa499b4271aec19359222f78 100644
--- a/cc/test/fake_layer_tree_host_client.cc
+++ b/cc/test/fake_layer_tree_host_client.cc
@@ -35,12 +35,4 @@ scoped_ptr<OutputSurface> FakeLayerTreeHostClient::CreateOutputSurface(
return FakeOutputSurface::Create3d().PassAs<OutputSurface>();
}
-scoped_refptr<ContextProvider>
-FakeLayerTreeHostClient::OffscreenContextProvider() {
- if (!offscreen_contexts_.get() ||
- offscreen_contexts_->DestroyedOnMainThread())
- offscreen_contexts_ = TestContextProvider::Create();
- return offscreen_contexts_;
-}
-
} // namespace cc
« no previous file with comments | « cc/test/fake_layer_tree_host_client.h ('k') | cc/test/fake_output_surface_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698