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

Unified Diff: third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp

Issue 2735973006: Bindings: Separate WorldIdConstants into WorldTypes and WorldId (Closed)
Patch Set: Created 3 years, 9 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
Index: third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp b/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp
index 969f7554c5f929a1fc94932c54a1b365ff03461f..7267e4e64482a980886ff5fa3e4df623e93cdfd3 100644
--- a/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp
+++ b/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp
@@ -69,8 +69,9 @@ void DataConsumerHandleTestUtil::Thread::initialize() {
m_thread->initialize();
if (m_initializationPolicy >= ScriptExecution) {
v8::HandleScope handleScope(isolate());
- m_scriptState = ScriptState::create(v8::Context::New(isolate()),
- DOMWrapperWorld::create(isolate()));
+ m_scriptState = ScriptState::create(
+ v8::Context::New(isolate()),
+ DOMWrapperWorld::create(isolate(), WorldType::Unknown));
}
if (m_initializationPolicy >= WithExecutionContext) {
m_executionContext = new NullExecutionContext();

Powered by Google App Engine
This is Rietveld 408576698