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

Unified Diff: content/renderer/android/synchronous_compositor_output_surface.cc

Issue 1773873002: sync compositor: Handle context loss (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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: content/renderer/android/synchronous_compositor_output_surface.cc
diff --git a/content/renderer/android/synchronous_compositor_output_surface.cc b/content/renderer/android/synchronous_compositor_output_surface.cc
index 56097351af8c952456b8ecd6bf0baf1136d359cf..567de401f87f1ad8b46973072be81ab23979fcad 100644
--- a/content/renderer/android/synchronous_compositor_output_surface.cc
+++ b/content/renderer/android/synchronous_compositor_output_surface.cc
@@ -98,11 +98,6 @@ void SynchronousCompositorOutputSurface::SetSyncClient(
sync_client_ = compositor;
}
-void SynchronousCompositorOutputSurface::DidLoseOutputSurface() {
- // Android WebView does not handle context loss.
- LOG(FATAL) << "Renderer compositor context loss";
-}
-
bool SynchronousCompositorOutputSurface::BindToClient(
cc::OutputSurfaceClient* surface_client) {
DCHECK(CalledOnValidThread());

Powered by Google App Engine
This is Rietveld 408576698