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..a09bdae8e62f58e96694159e7c6c72a46ef7f1ab 100644 |
--- a/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp |
@@ -69,8 +69,10 @@ 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(), |
+ DOMWrapperWorld::WorldType::Testing)); |
} |
if (m_initializationPolicy >= WithExecutionContext) { |
m_executionContext = new NullExecutionContext(); |