Index: Source/bindings/v8/custom/V8ArrayBufferCustom.h |
diff --git a/Source/bindings/v8/custom/V8ArrayBufferCustom.h b/Source/bindings/v8/custom/V8ArrayBufferCustom.h |
index eacf997153f28f91ca0fecd52b4ec7cfefce5ace..d619ebc93bc6f0c43368778c3a4ce38adccecae4 100644 |
--- a/Source/bindings/v8/custom/V8ArrayBufferCustom.h |
+++ b/Source/bindings/v8/custom/V8ArrayBufferCustom.h |
@@ -55,7 +55,7 @@ public: |
static bool HasInstanceInAnyWorld(v8::Handle<v8::Value>, v8::Isolate*); |
static ArrayBuffer* toNative(v8::Handle<v8::Object>); |
static void derefObject(void*); |
- static WrapperTypeInfo wrapperTypeInfo; |
+ static const WrapperTypeInfo wrapperTypeInfo; |
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount; |
static void installPerContextEnabledProperties(v8::Handle<v8::Object>, ArrayBuffer*, v8::Isolate*) { } |
static void installPerContextEnabledPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*) { } |
@@ -78,7 +78,7 @@ private: |
template<> |
class WrapperTypeTraits<ArrayBuffer > { |
public: |
- static WrapperTypeInfo* wrapperTypeInfo() { return &V8ArrayBuffer::wrapperTypeInfo; } |
+ static const WrapperTypeInfo* wrapperTypeInfo() { return &V8ArrayBuffer::wrapperTypeInfo; } |
}; |