Index: Source/bindings/v8/V8DOMWrapper.cpp |
diff --git a/Source/bindings/v8/V8DOMWrapper.cpp b/Source/bindings/v8/V8DOMWrapper.cpp |
index 29354fb67c510d5a53a5adced840877770be9e15..0b15c718cddac85b80bf57d50e7b24db36ea76f6 100644 |
--- a/Source/bindings/v8/V8DOMWrapper.cpp |
+++ b/Source/bindings/v8/V8DOMWrapper.cpp |
@@ -80,7 +80,7 @@ private: |
static v8::Local<v8::Object> wrapInShadowTemplate(v8::Local<v8::Object> wrapper, Node* impl, v8::Isolate* isolate) |
{ |
// This is only for getting a unique pointer which we can pass to privateTemplate. |
- static const char* shadowTemplateUniqueKey = "wrapInShadowTemplate"; |
+ static const int shadowTemplateUniqueKey = 0; |
WrapperWorldType currentWorldType = worldType(isolate); |
V8PerIsolateData* data = V8PerIsolateData::from(isolate); |
v8::Handle<v8::FunctionTemplate> shadowTemplate = data->privateTemplateIfExists(currentWorldType, &shadowTemplateUniqueKey); |