| Index: Source/bindings/v8/V8PerIsolateData.cpp
|
| diff --git a/Source/bindings/v8/V8PerIsolateData.cpp b/Source/bindings/v8/V8PerIsolateData.cpp
|
| index ad603a44bd2bfd1aaaa0cd45f0e192ef85c536e9..d9567ec4ff42cb88ae7ddf77e80ee009b2a8a551 100644
|
| --- a/Source/bindings/v8/V8PerIsolateData.cpp
|
| +++ b/Source/bindings/v8/V8PerIsolateData.cpp
|
| @@ -121,7 +121,7 @@ void V8PerIsolateData::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) con
|
| info.ignoreMember(m_lazyEventListenerToStringTemplate);
|
| info.ignoreMember(m_v8Null);
|
| info.ignoreMember(m_liveRoot);
|
| - info.ignoreMember(m_auxiliaryContext);
|
| + info.ignoreMember(m_regexContext);
|
| }
|
|
|
| bool V8PerIsolateData::hasPrivateTemplate(WrapperWorldType currentWorldType, void* privatePointer)
|
| @@ -156,6 +156,13 @@ v8::Persistent<v8::FunctionTemplate> V8PerIsolateData::rawTemplate(WrapperTypeIn
|
| return templ;
|
| }
|
|
|
| +v8::Local<v8::Context> V8PerIsolateData::ensureRegexContext()
|
| +{
|
| + if (m_regexContext.isEmpty())
|
| + m_regexContext.set(v8::Context::New());
|
| + return v8::Local<v8::Context>::New(m_regexContext.get());
|
| +}
|
| +
|
| bool V8PerIsolateData::hasInstance(WrapperTypeInfo* info, v8::Handle<v8::Value> value, WrapperWorldType currentWorldType)
|
| {
|
| TemplateMap& templates = rawTemplateMap(currentWorldType);
|
|
|