Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Unified Diff: sky/engine/bindings/core/v8/V8PerIsolateData.cpp

Issue 647323003: Remove ScriptRegexp. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/bindings/core/v8/V8PerIsolateData.h ('k') | sky/engine/bindings/core/v8/v8.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « sky/engine/bindings/core/v8/V8PerIsolateData.h ('k') | sky/engine/bindings/core/v8/v8.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698