| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "core/dom/AnimationWorkletProxyClient.h" |
| 6 |
| 7 namespace blink { |
| 8 |
| 9 AnimationWorkletProxyClient* AnimationWorkletProxyClient::From( |
| 10 WorkerClients* clients) { |
| 11 return static_cast<AnimationWorkletProxyClient*>( |
| 12 Supplement<WorkerClients>::From(clients, SupplementName())); |
| 13 } |
| 14 |
| 15 const char* AnimationWorkletProxyClient::SupplementName() { |
| 16 return "AnimationWorkletProxyClient"; |
| 17 } |
| 18 |
| 19 void ProvideAnimationWorkletProxyClientTo(WorkerClients* clients, |
| 20 AnimationWorkletProxyClient* client) { |
| 21 clients->ProvideSupplement(AnimationWorkletProxyClient::SupplementName(), |
| 22 client); |
| 23 } |
| 24 |
| 25 } // namespace blink |
| OLD | NEW |