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

Unified Diff: android_webview/browser/surfaces_instance.cc

Issue 2443003004: cc: Make OutputSurface::BindToClient pure virtual and not return bool (Closed)
Patch Set: bindtoclient-pure-virtual: rebase Created 4 years, 2 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: android_webview/browser/surfaces_instance.cc
diff --git a/android_webview/browser/surfaces_instance.cc b/android_webview/browser/surfaces_instance.cc
index 23843c01cfc1e8d04f1b77ddca60d87dc5750ccd..02788b2618ab97f2df2b66cb59955fa22fc01210 100644
--- a/android_webview/browser/surfaces_instance.cc
+++ b/android_webview/browser/surfaces_instance.cc
@@ -92,6 +92,11 @@ SurfacesInstance::~SurfacesInstance() {
surface_manager_->InvalidateFrameSinkId(frame_sink_id_);
}
+void SurfacesInstance::DisplayOutputSurfaceLost() {
+ // Android WebView does not handle context loss.
+ LOG(FATAL) << "Render thread context loss";
+}
+
cc::FrameSinkId SurfacesInstance::AllocateFrameSinkId() {
return cc::FrameSinkId(next_client_id_++, 0 /* sink_id */);
}
« no previous file with comments | « android_webview/browser/surfaces_instance.h ('k') | blimp/client/support/compositor/blimp_embedder_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698