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

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

Issue 15481002: Make WebGL objects scriptwrappable so that binding integrity checks may be applied to them. (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/WebGLTexture.cpp
diff --git a/Source/core/html/canvas/WebGLTexture.cpp b/Source/core/html/canvas/WebGLTexture.cpp
index c8c23bd4be545a9c05708dcf75ca32171cb10ca0..da8a6e6ae6ef269be0d5a233fc70e717d5545c51 100644
--- a/Source/core/html/canvas/WebGLTexture.cpp
+++ b/Source/core/html/canvas/WebGLTexture.cpp
@@ -49,6 +49,7 @@ WebGLTexture::WebGLTexture(WebGLRenderingContext* ctx)
, m_isComplete(false)
, m_needToUseBlackTexture(false)
{
+ ScriptWrappable::init(this);
setObject(ctx->graphicsContext3D()->createTexture());
}

Powered by Google App Engine
This is Rietveld 408576698