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

Unified Diff: webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc

Issue 233583002: Fix crash in skia graphics context teardown after gpu context loss (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc
diff --git a/webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc b/webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc
index 894955012acf56b7d71db33734c5a6e1b8cb7900..f612a14bd7f928b8ac35ab2093e8a8879613604a 100644
--- a/webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc
+++ b/webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc
@@ -47,7 +47,7 @@ GrContextForWebGraphicsContext3D::~GrContextForWebGraphicsContext3D() {
void GrContextForWebGraphicsContext3D::OnLostContext() {
if (gr_context_)
- gr_context_->contextLost();
+ gr_context_->contextDestroyed();
}
void GrContextForWebGraphicsContext3D::SetMemoryLimit(bool nonzero_allocation) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698