Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/ModulatorImpl.cpp |
| diff --git a/third_party/WebKit/Source/core/dom/ModulatorImpl.cpp b/third_party/WebKit/Source/core/dom/ModulatorImpl.cpp |
| index e5e4f35dd77ff0db211c1fd7493f915e670e61ab..c4d65ee603e31c61d69a341ffe6a0b6f77366659 100644 |
| --- a/third_party/WebKit/Source/core/dom/ModulatorImpl.cpp |
| +++ b/third_party/WebKit/Source/core/dom/ModulatorImpl.cpp |
| @@ -19,11 +19,12 @@ |
| namespace blink { |
| ModulatorImpl* ModulatorImpl::Create(RefPtr<ScriptState> script_state, |
| - Document& document) { |
| + ExecutionContext& execution_context, |
| + ResourceFetcher* fetcher) { |
| return new ModulatorImpl( |
| std::move(script_state), |
| - TaskRunnerHelper::Get(TaskType::kNetworking, &document), |
| - document.Fetcher()); |
| + TaskRunnerHelper::Get(TaskType::kNetworking, &execution_context), |
|
kouhei (in TOK)
2017/05/01 10:15:32
shouldn't be needed.
nhiroki
2017/05/02 03:54:38
Done.
|
| + fetcher); |
| } |
| ModulatorImpl::ModulatorImpl(RefPtr<ScriptState> script_state, |