| 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 "modules/compositorworker/AnimationWorklet.h" | 5 #include "modules/compositorworker/AnimationWorklet.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/V8Binding.h" | 7 #include "bindings/core/v8/V8BindingForCore.h" |
| 8 #include "core/dom/AnimationWorkletProxyClient.h" | 8 #include "core/dom/AnimationWorkletProxyClient.h" |
| 9 #include "core/dom/Document.h" | 9 #include "core/dom/Document.h" |
| 10 #include "core/frame/LocalFrame.h" | 10 #include "core/frame/LocalFrame.h" |
| 11 #include "core/page/ChromeClient.h" | 11 #include "core/page/ChromeClient.h" |
| 12 #include "modules/compositorworker/AnimationWorkletMessagingProxy.h" | 12 #include "modules/compositorworker/AnimationWorkletMessagingProxy.h" |
| 13 #include "modules/compositorworker/AnimationWorkletThread.h" | 13 #include "modules/compositorworker/AnimationWorkletThread.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 // static | 17 // static |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 WorkletGlobalScopeProxy* AnimationWorklet::GetWorkletGlobalScopeProxy() const { | 49 WorkletGlobalScopeProxy* AnimationWorklet::GetWorkletGlobalScopeProxy() const { |
| 50 DCHECK(worklet_messaging_proxy_); | 50 DCHECK(worklet_messaging_proxy_); |
| 51 return worklet_messaging_proxy_; | 51 return worklet_messaging_proxy_; |
| 52 } | 52 } |
| 53 | 53 |
| 54 DEFINE_TRACE(AnimationWorklet) { | 54 DEFINE_TRACE(AnimationWorklet) { |
| 55 ThreadedWorklet::Trace(visitor); | 55 ThreadedWorklet::Trace(visitor); |
| 56 } | 56 } |
| 57 | 57 |
| 58 } // namespace blink | 58 } // namespace blink |
| OLD | NEW |