Index: Source/bindings/tests/results/V8TestNamedConstructor.cpp |
diff --git a/Source/bindings/tests/results/V8TestNamedConstructor.cpp b/Source/bindings/tests/results/V8TestNamedConstructor.cpp |
index c23c4c44434ebb188c1628f85d2a711077ae96cc..11d7293416c9d1272cc863c9e2acc0a7199a2afd 100644 |
--- a/Source/bindings/tests/results/V8TestNamedConstructor.cpp |
+++ b/Source/bindings/tests/results/V8TestNamedConstructor.cpp |
@@ -107,7 +107,7 @@ static void V8TestNamedConstructorConstructorCallback(const v8::FunctionCallback |
v8::Handle<v8::FunctionTemplate> V8TestNamedConstructorConstructor::GetTemplate(v8::Isolate* isolate, WrapperWorldType currentWorldType) |
{ |
// This is only for getting a unique pointer which we can pass to privateTemplate. |
- static const char* privateTemplateUniqueKey = "V8TestNamedConstructorConstructor::GetTemplatePrivateTemplate"; |
+ static const int privateTemplateUniqueKey = 0; |
V8PerIsolateData* data = V8PerIsolateData::from(isolate); |
v8::Handle<v8::FunctionTemplate> result = data->privateTemplateIfExists(currentWorldType, &privateTemplateUniqueKey); |
if (!result.IsEmpty()) |