Index: Source/bindings/v8/V8DOMConfiguration.h |
diff --git a/Source/bindings/v8/V8DOMConfiguration.h b/Source/bindings/v8/V8DOMConfiguration.h |
index 4ce0c596b7691ae025ab722301a51787e01e26b6..f7ba8651af8a9c1e16afeb13c12b7d499095ef32 100644 |
--- a/Source/bindings/v8/V8DOMConfiguration.h |
+++ b/Source/bindings/v8/V8DOMConfiguration.h |
@@ -50,7 +50,7 @@ public: |
v8::AccessorSetterCallback setter; |
v8::AccessorGetterCallback getterForMainWorld; |
v8::AccessorSetterCallback setterForMainWorld; |
- WrapperTypeInfo* data; |
+ const WrapperTypeInfo* data; |
v8::AccessControl settings; |
v8::PropertyAttribute attribute; |
bool onPrototype; |
@@ -64,7 +64,7 @@ public: |
(attribute.onPrototype ? prototype : instance)->SetAccessor(v8::String::NewSymbol(attribute.name), |
attribute.getter, |
attribute.setter, |
- v8::External::New(attribute.data), |
+ v8::External::New(const_cast<WrapperTypeInfo*>(attribute.data)), |
attribute.settings, |
attribute.attribute); |
} |
@@ -83,7 +83,7 @@ public: |
(attribute.onPrototype ? prototype : instance)->SetAccessor(v8::String::NewSymbol(attribute.name), |
getter, |
setter, |
- v8::External::New(attribute.data), |
+ v8::External::New(const_cast<WrapperTypeInfo*>(attribute.data)), |
attribute.settings, |
attribute.attribute); |
} |