| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/workers/WorkletScriptLoader.h" | 5 #include "core/loader/WorkletScriptLoader.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ScriptSourceCode.h" | 7 #include "bindings/core/v8/ScriptSourceCode.h" |
| 8 #include "core/loader/FrameFetchContext.h" | 8 #include "core/loader/FrameFetchContext.h" |
| 9 #include "platform/loader/fetch/FetchInitiatorTypeNames.h" | 9 #include "platform/loader/fetch/FetchInitiatorTypeNames.h" |
| 10 #include "wtf/WTF.h" | 10 #include "wtf/WTF.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 WorkletScriptLoader::WorkletScriptLoader(ResourceFetcher* fetcher, | 14 WorkletScriptLoader::WorkletScriptLoader(ResourceFetcher* fetcher, |
| 15 Client* client) | 15 Client* client) |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 return m_wasScriptLoadSuccessful; | 60 return m_wasScriptLoadSuccessful; |
| 61 } | 61 } |
| 62 | 62 |
| 63 DEFINE_TRACE(WorkletScriptLoader) { | 63 DEFINE_TRACE(WorkletScriptLoader) { |
| 64 visitor->trace(m_fetcher); | 64 visitor->trace(m_fetcher); |
| 65 visitor->trace(m_client); | 65 visitor->trace(m_client); |
| 66 ResourceOwner<ScriptResource, ScriptResourceClient>::trace(visitor); | 66 ResourceOwner<ScriptResource, ScriptResourceClient>::trace(visitor); |
| 67 } | 67 } |
| 68 | 68 |
| 69 } // namespace blink | 69 } // namespace blink |
| OLD | NEW |