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/WorkletGlobalScope.h" | 5 #include "core/workers/WorkletGlobalScope.h" |
6 | 6 |
| 7 #include <memory> |
7 #include "bindings/core/v8/SourceLocation.h" | 8 #include "bindings/core/v8/SourceLocation.h" |
8 #include "bindings/core/v8/WorkerOrWorkletScriptController.h" | 9 #include "bindings/core/v8/WorkerOrWorkletScriptController.h" |
9 #include "core/inspector/InspectorInstrumentation.h" | 10 #include "core/inspector/InspectorInstrumentation.h" |
10 #include "core/inspector/MainThreadDebugger.h" | 11 #include "core/inspector/MainThreadDebugger.h" |
11 #include <memory> | |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 | 14 |
15 WorkletGlobalScope::WorkletGlobalScope( | 15 WorkletGlobalScope::WorkletGlobalScope( |
16 const KURL& url, | 16 const KURL& url, |
17 const String& userAgent, | 17 const String& userAgent, |
18 PassRefPtr<SecurityOrigin> securityOrigin, | 18 PassRefPtr<SecurityOrigin> securityOrigin, |
19 v8::Isolate* isolate) | 19 v8::Isolate* isolate) |
20 : m_url(url), | 20 : m_url(url), |
21 m_userAgent(userAgent), | 21 m_userAgent(userAgent), |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 } | 82 } |
83 | 83 |
84 DEFINE_TRACE(WorkletGlobalScope) { | 84 DEFINE_TRACE(WorkletGlobalScope) { |
85 visitor->trace(m_scriptController); | 85 visitor->trace(m_scriptController); |
86 ExecutionContext::trace(visitor); | 86 ExecutionContext::trace(visitor); |
87 SecurityContext::trace(visitor); | 87 SecurityContext::trace(visitor); |
88 WorkerOrWorkletGlobalScope::trace(visitor); | 88 WorkerOrWorkletGlobalScope::trace(visitor); |
89 } | 89 } |
90 | 90 |
91 } // namespace blink | 91 } // namespace blink |
OLD | NEW |