Index: Source/bindings/v8/V8PerIsolateData.cpp |
diff --git a/Source/bindings/v8/V8PerIsolateData.cpp b/Source/bindings/v8/V8PerIsolateData.cpp |
index 2d1da2834cb0aef284cffed216ac8a7d6db36a87..b392b89fe98d1b03207d8fb01da39322514d3dc5 100644 |
--- a/Source/bindings/v8/V8PerIsolateData.cpp |
+++ b/Source/bindings/v8/V8PerIsolateData.cpp |
@@ -126,13 +126,13 @@ void V8PerIsolateData::setPrivateTemplate(WrapperWorldType currentWorldType, voi |
templateMap(currentWorldType).add(privatePointer, UnsafePersistent<v8::FunctionTemplate>(m_isolate, templ)); |
} |
-v8::Local<v8::Context> V8PerIsolateData::ensureRegexContext() |
+v8::Local<v8::Context> V8PerIsolateData::ensureDomInJSContext() |
{ |
- if (m_regexContext.isEmpty()) { |
+ if (m_domInJSContext.isEmpty()) { |
v8::HandleScope handleScope(m_isolate); |
- m_regexContext.set(m_isolate, v8::Context::New(m_isolate)); |
+ m_domInJSContext.set(m_isolate, v8::Context::New(m_isolate)); |
} |
- return m_regexContext.newLocal(m_isolate); |
+ return m_domInJSContext.newLocal(m_isolate); |
} |
bool V8PerIsolateData::hasInstanceInMainWorld(const WrapperTypeInfo* info, v8::Handle<v8::Value> value) |