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

Unified Diff: mojo/examples/compositor_app/compositor_host.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/examples/compositor_app/compositor_host.h ('k') | mojo/services/html_viewer/weblayertreeview_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/compositor_app/compositor_host.cc
diff --git a/mojo/examples/compositor_app/compositor_host.cc b/mojo/examples/compositor_app/compositor_host.cc
index 13e544c96396636e38cc604d407926fc4d128dc6..90d04bbd6dddb74495eaa5ee5946ca29d9c75b37 100644
--- a/mojo/examples/compositor_app/compositor_host.cc
+++ b/mojo/examples/compositor_app/compositor_host.cc
@@ -76,9 +76,11 @@
float page_scale,
float top_controls_delta) {}
-void CompositorHost::RequestNewOutputSurface(bool fallback) {
- tree_->SetOutputSurface(make_scoped_ptr(new cc::OutputSurface(
- new ContextProviderMojo(command_buffer_handle_.Pass()))));
+scoped_ptr<cc::OutputSurface> CompositorHost::CreateOutputSurface(
+ bool fallback) {
+ return make_scoped_ptr(
+ new cc::OutputSurface(
+ new ContextProviderMojo(command_buffer_handle_.Pass())));
}
void CompositorHost::DidInitializeOutputSurface() {
« no previous file with comments | « mojo/examples/compositor_app/compositor_host.h ('k') | mojo/services/html_viewer/weblayertreeview_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698