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

Unified Diff: Source/core/html/canvas/WebGLLoseContext.h

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: Fix WebGLProgram really really. 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
« no previous file with comments | « Source/core/html/canvas/WebGLFramebuffer.cpp ('k') | Source/core/html/canvas/WebGLLoseContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGLLoseContext.h
diff --git a/Source/core/html/canvas/WebGLLoseContext.h b/Source/core/html/canvas/WebGLLoseContext.h
index 2f86d5f1255ebba8d6339bda54b5ec3b9d2069b2..4f81813c7ff52c5a216045ec38a53629ef01dda0 100644
--- a/Source/core/html/canvas/WebGLLoseContext.h
+++ b/Source/core/html/canvas/WebGLLoseContext.h
@@ -26,14 +26,15 @@
#ifndef WebGLLoseContext_h
#define WebGLLoseContext_h
+#include "bindings/v8/ScriptWrappable.h"
#include "core/html/canvas/WebGLExtension.h"
-#include <wtf/PassOwnPtr.h>
+#include "wtf/PassOwnPtr.h"
namespace WebCore {
class WebGLRenderingContext;
-class WebGLLoseContext : public WebGLExtension {
+class WebGLLoseContext : public WebGLExtension, public ScriptWrappable {
public:
static PassOwnPtr<WebGLLoseContext> create(WebGLRenderingContext*);
static bool supported(WebGLRenderingContext*);
« no previous file with comments | « Source/core/html/canvas/WebGLFramebuffer.cpp ('k') | Source/core/html/canvas/WebGLLoseContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698