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

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

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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/WebGLUniformLocation.h ('k') | Source/core/html/ime/InputMethodContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGLVertexArrayObjectOES.h
diff --git a/Source/core/html/canvas/WebGLVertexArrayObjectOES.h b/Source/core/html/canvas/WebGLVertexArrayObjectOES.h
index d8c494c308b80bac24ac04f9a43fe40309786e5d..86ad3d8c2cfb2a845d586ae3e7c985a7bf57d39b 100644
--- a/Source/core/html/canvas/WebGLVertexArrayObjectOES.h
+++ b/Source/core/html/canvas/WebGLVertexArrayObjectOES.h
@@ -35,6 +35,7 @@
namespace blink {
class WebGLVertexArrayObjectOES FINAL : public WebGLContextObject, public ScriptWrappable {
+ DEFINE_WRAPPERTYPEINFO();
public:
enum VaoType {
VaoTypeDefault,
@@ -109,6 +110,7 @@ private:
} // namespace blink
namespace WTF {
+
template<>
struct VectorTraits<blink::WebGLVertexArrayObjectOES::VertexAttribState> : SimpleClassVectorTraits<blink::WebGLVertexArrayObjectOES::VertexAttribState> {
// Specialization needed as the VertexAttribState's struct fields
@@ -120,6 +122,7 @@ struct VectorTraits<blink::WebGLVertexArrayObjectOES::VertexAttribState> : Simpl
static const bool canInitializeWithMemset = false;
static const bool canCopyWithMemcpy = true;
};
-}
+
+} // namespace WTF
#endif // WebGLVertexArrayObjectOES_h
« no previous file with comments | « Source/core/html/canvas/WebGLUniformLocation.h ('k') | Source/core/html/ime/InputMethodContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698