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

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: 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
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..6fcebc61394ec7bc9aaf9a07d9a03470b8106637 100644
--- a/content/test/web_layer_tree_view_impl_for_testing.cc
+++ b/content/test/web_layer_tree_view_impl_for_testing.cc
@@ -150,13 +150,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,

Powered by Google App Engine
This is Rietveld 408576698