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

Unified Diff: mojo/services/html_viewer/weblayertreeview_impl.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 | « mojo/services/html_viewer/weblayertreeview_impl.h ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/html_viewer/weblayertreeview_impl.cc
diff --git a/mojo/services/html_viewer/weblayertreeview_impl.cc b/mojo/services/html_viewer/weblayertreeview_impl.cc
index e3b56a8636eb730df833d2ea24f32ff85b37878d..3f8ff804255125e530b9d44007e6e768965ff531 100644
--- a/mojo/services/html_viewer/weblayertreeview_impl.cc
+++ b/mojo/services/html_viewer/weblayertreeview_impl.cc
@@ -79,8 +79,9 @@
widget_->applyViewportDeltas(scroll_delta, page_scale, top_controls_delta);
}
-void WebLayerTreeViewImpl::RequestNewOutputSurface(bool fallback) {
- layer_tree_host_->SetOutputSurface(output_surface_.Pass());
+scoped_ptr<cc::OutputSurface> WebLayerTreeViewImpl::CreateOutputSurface(
+ bool fallback) {
+ return output_surface_.Pass();
}
void WebLayerTreeViewImpl::DidInitializeOutputSurface() {
« no previous file with comments | « mojo/services/html_viewer/weblayertreeview_impl.h ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698