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

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

Issue 776143003: Remove Isolated Worlds from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/V8GCController.cpp ('k') | sky/engine/bindings/core/v8/WindowProxy.cpp » ('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 364a4b86734916a3451622f3508d8c7f76c831c2..b869c78f1a644e80b1ff59f4712a62a95ab6de6b 100644
--- a/sky/engine/bindings/core/v8/V8PerIsolateData.cpp
+++ b/sky/engine/bindings/core/v8/V8PerIsolateData.cpp
@@ -162,7 +162,7 @@ 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());
+ m_scriptRegexpScriptState = ScriptState::create(context, DOMWrapperWorld::create(FakeWorld));
}
return m_scriptRegexpScriptState->context();
}
« no previous file with comments | « sky/engine/bindings/core/v8/V8GCController.cpp ('k') | sky/engine/bindings/core/v8/WindowProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698