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

Unified Diff: mojo/services/html_viewer/weblayertreeview_impl.cc

Issue 738983002: Move output surface fallback from cc to embedders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years 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 c0d77b1c401ceac1646f42ef3e61d04ca5855b39..d009f3a8963cce05d43d7f114aa5b77e536d3985 100644
--- a/mojo/services/html_viewer/weblayertreeview_impl.cc
+++ b/mojo/services/html_viewer/weblayertreeview_impl.cc
@@ -97,10 +97,14 @@ void WebLayerTreeViewImpl::ApplyViewportDeltas(
widget_->applyViewportDeltas(scroll_delta, page_scale, top_controls_delta);
}
-void WebLayerTreeViewImpl::RequestNewOutputSurface(bool fallback) {
+void WebLayerTreeViewImpl::RequestNewOutputSurface() {
layer_tree_host_->SetOutputSurface(output_surface_.Pass());
}
+void WebLayerTreeViewImpl::DidFailToInitializeOutputSurface() {
+ RequestNewOutputSurface();
+}
+
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