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 |
} |