Index: Source/bindings/v8/V8HiddenPropertyName.cpp |
diff --git a/Source/bindings/v8/V8HiddenPropertyName.cpp b/Source/bindings/v8/V8HiddenPropertyName.cpp |
index 776de512ade033d55defe851919672914413c8da..07a9652f514d81904371d35426c1a63a38a636b5 100644 |
--- a/Source/bindings/v8/V8HiddenPropertyName.cpp |
+++ b/Source/bindings/v8/V8HiddenPropertyName.cpp |
@@ -44,9 +44,8 @@ namespace WebCore { |
#define V8_HIDDEN_PROPERTY_PREFIX "WebCore::HiddenProperty::" |
#define V8_DEFINE_HIDDEN_PROPERTY(name) \ |
-v8::Handle<v8::String> V8HiddenPropertyName::name() \ |
+v8::Handle<v8::String> V8HiddenPropertyName::name(v8::Isolate* isolate) \ |
{ \ |
- v8::Isolate* isolate = v8::Isolate::GetCurrent(); \ |
V8HiddenPropertyName* hiddenPropertyName = V8PerIsolateData::from(isolate)->hiddenPropertyName(); \ |
if (hiddenPropertyName->m_##name.IsEmpty()) { \ |
createString(V8_HIDDEN_PROPERTY_PREFIX V8_AS_STRING(name), &(hiddenPropertyName->m_##name), isolate); \ |