Index: cc/test/layer_tree_test.cc |
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc |
index 5c85d160670ea09459dbc904a343a6d0fbccda96..f67ee7c7c84beece8934d8099d84fffcdf171291 100644 |
--- a/cc/test/layer_tree_test.cc |
+++ b/cc/test/layer_tree_test.cc |
@@ -271,10 +271,6 @@ class LayerTreeHostClientForTesting : public LayerTreeHostClient, |
virtual void DidPostSwapBuffers() OVERRIDE {} |
virtual void DidAbortSwapBuffers() OVERRIDE {} |
- virtual scoped_refptr<ContextProvider> OffscreenContextProvider() OVERRIDE { |
- return test_hooks_->OffscreenContextProvider(); |
- } |
- |
private: |
explicit LayerTreeHostClientForTesting(TestHooks* test_hooks) |
: test_hooks_(test_hooks) {} |
@@ -682,13 +678,6 @@ scoped_ptr<FakeOutputSurface> LayerTreeTest::CreateFakeOutputSurface( |
return FakeOutputSurface::Create3d(); |
} |
-scoped_refptr<ContextProvider> LayerTreeTest::OffscreenContextProvider() { |
- if (!compositor_contexts_.get() || |
- compositor_contexts_->DestroyedOnMainThread()) |
- compositor_contexts_ = TestContextProvider::Create(); |
- return compositor_contexts_; |
-} |
- |
TestWebGraphicsContext3D* LayerTreeTest::TestContext() { |
return static_cast<TestContextProvider*>( |
output_surface_->context_provider().get())->TestContext3d(); |