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

Unified Diff: content/test/web_layer_tree_view_impl_for_testing.cc

Issue 606113003: Revert of Make cc output surface creation async (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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/compositor_app/compositor_host.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 c8dd325757b69fef0654b7adecb97da02333d53f..ffe67d780eaebeb1f7e3bcd2080d80e16fad614d 100644
--- a/content/test/web_layer_tree_view_impl_for_testing.cc
+++ b/content/test/web_layer_tree_view_impl_for_testing.cc
@@ -142,10 +142,10 @@
float page_scale,
float top_controls_delta) {}
-void WebLayerTreeViewImplForTesting::RequestNewOutputSurface(
- bool fallback) {
- layer_tree_host_->SetOutputSurface(make_scoped_ptr(
- new cc::OutputSurface(cc::TestContextProvider::Create())));
+scoped_ptr<cc::OutputSurface>
+WebLayerTreeViewImplForTesting::CreateOutputSurface(bool fallback) {
+ return make_scoped_ptr(
+ new cc::OutputSurface(cc::TestContextProvider::Create()));
}
void WebLayerTreeViewImplForTesting::registerViewportLayers(
« no previous file with comments | « content/test/web_layer_tree_view_impl_for_testing.h ('k') | mojo/examples/compositor_app/compositor_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698