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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 12038095: Android webview fix gpu crashes after destroy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes Created 7 years, 11 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/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index f48bb5a9006f0888319c65aac0b6522ad2a3203f..63d8eb85b4ea449877d96d1acb55a8b7e0c15a42 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -132,6 +132,7 @@ CompositorImpl::CompositorImpl(Compositor::Client* client)
}
CompositorImpl::~CompositorImpl() {
+ SetWindowSurface(NULL);
boliu 2013/01/26 01:18:00 This was my attempt at fixing the crash inside and
no sievers 2013/01/28 19:46:15 Yes, this SetWindowSurface() codepath here is not
}
void CompositorImpl::Composite() {
« no previous file with comments | « no previous file | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | content/common/gpu/gpu_command_buffer_stub.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698