Index: content/test/web_layer_tree_view_impl_for_testing.cc |
diff --git a/content/test/web_layer_tree_view_impl_for_testing.cc b/content/test/web_layer_tree_view_impl_for_testing.cc |
index 8c83e2279f2a526b2562186f0d19898f400915d4..28bd7c84a3c68d93936ea6955e323e24019cd6ec 100644 |
--- a/content/test/web_layer_tree_view_impl_for_testing.cc |
+++ b/content/test/web_layer_tree_view_impl_for_testing.cc |
@@ -13,7 +13,6 @@ |
#include "cc/output/output_surface.h" |
#include "cc/test/test_context_provider.h" |
#include "cc/trees/layer_tree_host.h" |
-#include "content/test/test_context_provider_factory.h" |
#include "content/test/test_webkit_platform_support.h" |
#include "third_party/WebKit/public/platform/Platform.h" |
#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
@@ -150,13 +149,6 @@ WebLayerTreeViewImplForTesting::CreateOutputSurface(bool fallback) { |
new cc::OutputSurface(cc::TestContextProvider::Create())); |
} |
-scoped_refptr<cc::ContextProvider> |
-WebLayerTreeViewImplForTesting::OffscreenContextProvider() { |
- // Unit tests only run in single threaded mode. |
- return content::TestContextProviderFactory::GetInstance()-> |
- OffscreenContextProviderForMainThread(); |
-} |
- |
void WebLayerTreeViewImplForTesting::registerViewportLayers( |
const blink::WebLayer* pageScaleLayer, |
const blink::WebLayer* innerViewportScrollLayer, |