| Index: Source/bindings/v8/V8PerIsolateData.cpp
|
| diff --git a/Source/bindings/v8/V8PerIsolateData.cpp b/Source/bindings/v8/V8PerIsolateData.cpp
|
| index 08c72c798252c582f50251951b25df4b07cec2c9..f981d18e98beb1a77abaeb43c858a14becb6b549 100644
|
| --- a/Source/bindings/v8/V8PerIsolateData.cpp
|
| +++ b/Source/bindings/v8/V8PerIsolateData.cpp
|
| @@ -118,11 +118,11 @@ void V8PerIsolateData::setDOMTemplate(WrapperWorldType currentWorldType, void* d
|
| templateMap(currentWorldType).add(domTemplateKey, UnsafePersistent<v8::FunctionTemplate>(m_isolate, templ));
|
| }
|
|
|
| -v8::Local<v8::Context> V8PerIsolateData::ensureRegexContext()
|
| +v8::Local<v8::Context> V8PerIsolateData::ensureDomInJSContext()
|
| {
|
| - if (m_regexContext.isEmpty())
|
| - m_regexContext.set(m_isolate, v8::Context::New(m_isolate));
|
| - return m_regexContext.newLocal(m_isolate);
|
| + if (m_domInJSContext.isEmpty())
|
| + m_domInJSContext.set(m_isolate, v8::Context::New(m_isolate));
|
| + return m_domInJSContext.newLocal(m_isolate);
|
| }
|
|
|
| bool V8PerIsolateData::hasInstance(const WrapperTypeInfo* info, v8::Handle<v8::Value> value)
|
|
|