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

Unified Diff: Source/core/html/canvas/WebGLExtension.cpp

Issue 15876011: Make WebGL extensions get lost when context is lost. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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: Source/core/html/canvas/WebGLExtension.cpp
diff --git a/Source/core/html/canvas/WebGLExtension.cpp b/Source/core/html/canvas/WebGLExtension.cpp
index 9d3c9413c61d27f574bdd43cb3e042677d2c4bdb..d96a98b4401adf57af995bfb21759c3dc435cc09 100644
--- a/Source/core/html/canvas/WebGLExtension.cpp
+++ b/Source/core/html/canvas/WebGLExtension.cpp
@@ -31,6 +31,7 @@ namespace WebCore {
WebGLExtension::WebGLExtension(WebGLRenderingContext* context)
: m_context(context)
+ , m_lost(false)
{
}

Powered by Google App Engine
This is Rietveld 408576698