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

Unified Diff: android_webview/browser/parent_output_surface.cc

Issue 1441273002: Android WebView: Crash on compositor context loss (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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 | « android_webview/browser/parent_output_surface.h ('k') | cc/output/output_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/parent_output_surface.cc
diff --git a/android_webview/browser/parent_output_surface.cc b/android_webview/browser/parent_output_surface.cc
index 1b8dd9e9aa527f3da16caf6e37050f59a57e14b7..4a777cb31881a601ee4c5f994158f0d38fea3380 100644
--- a/android_webview/browser/parent_output_surface.cc
+++ b/android_webview/browser/parent_output_surface.cc
@@ -17,6 +17,11 @@ ParentOutputSurface::ParentOutputSurface(
ParentOutputSurface::~ParentOutputSurface() {
}
+void ParentOutputSurface::DidLoseOutputSurface() {
+ // Android WebView does not handle context loss.
+ LOG(FATAL) << "Render thread context loss";
+}
+
void ParentOutputSurface::Reshape(const gfx::Size& size,
float scale_factor,
bool has_alpha) {
« no previous file with comments | « android_webview/browser/parent_output_surface.h ('k') | cc/output/output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698