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

Unified Diff: content/test/web_layer_tree_view_impl_for_testing.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 | « content/test/web_layer_tree_view_impl_for_testing.h ('k') | mojo/examples/aura_demo/demo_context_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « content/test/web_layer_tree_view_impl_for_testing.h ('k') | mojo/examples/aura_demo/demo_context_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698