| Index: sky/engine/bindings/core/v8/V8PerIsolateData.cpp
|
| diff --git a/sky/engine/bindings/core/v8/V8PerIsolateData.cpp b/sky/engine/bindings/core/v8/V8PerIsolateData.cpp
|
| index c6af66d04db2efcb82e12d3231ef4877a9c77459..23eb550e5b78479b0cc96c549498242ac2032018 100644
|
| --- a/sky/engine/bindings/core/v8/V8PerIsolateData.cpp
|
| +++ b/sky/engine/bindings/core/v8/V8PerIsolateData.cpp
|
| @@ -88,8 +88,6 @@ V8PerIsolateData::V8PerIsolateData()
|
|
|
| V8PerIsolateData::~V8PerIsolateData()
|
| {
|
| - if (m_scriptRegexpScriptState)
|
| - m_scriptRegexpScriptState->disposePerContextData();
|
| if (isMainThread())
|
| mainThreadPerIsolateData = 0;
|
| }
|
| @@ -161,15 +159,6 @@ void V8PerIsolateData::setDOMTemplate(void* domTemplateKey, v8::Handle<v8::Funct
|
| currentDOMTemplateMap().add(domTemplateKey, v8::Eternal<v8::FunctionTemplate>(isolate(), v8::Local<v8::FunctionTemplate>(templ)));
|
| }
|
|
|
| -v8::Local<v8::Context> V8PerIsolateData::ensureScriptRegexpContext()
|
| -{
|
| - if (!m_scriptRegexpScriptState) {
|
| - v8::Local<v8::Context> context(v8::Context::New(isolate()));
|
| - m_scriptRegexpScriptState = ScriptState::create(context, DOMWrapperWorld::create());
|
| - }
|
| - return m_scriptRegexpScriptState->context();
|
| -}
|
| -
|
| bool V8PerIsolateData::hasInstance(const WrapperTypeInfo* info, v8::Handle<v8::Value> value)
|
| {
|
| return hasInstance(info, value, m_domTemplateMapForMainWorld)
|
|
|