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

Unified Diff: Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp

Issue 7046071: Merge 88429 - 2011-06-08 Justin Novosad <junov@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 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 | « Source/WebCore/ChangeLog ('k') | Source/WebKit/chromium/ChangeLog » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp
===================================================================
--- Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp (revision 88429)
+++ Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp (working copy)
@@ -121,7 +121,10 @@
m_context->deleteBuffer(m_quadVertices);
allContexts()->remove(this);
#if USE(SKIA)
- GrSafeUnref(m_grContext);
+ if (m_grContext) {
+ m_grContext->contextDestroyed();
+ GrSafeUnref(m_grContext);
+ }
#endif
}
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | Source/WebKit/chromium/ChangeLog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698