| Index: third_party/WebKit/Source/core/dom/AnimationWorkletProxyClient.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/AnimationWorkletProxyClient.cpp b/third_party/WebKit/Source/core/dom/AnimationWorkletProxyClient.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e5a2980ea19cde526e426d4e96e6ea31b583b548
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/dom/AnimationWorkletProxyClient.cpp
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "core/dom/AnimationWorkletProxyClient.h"
|
| +
|
| +namespace blink {
|
| +
|
| +AnimationWorkletProxyClient* AnimationWorkletProxyClient::From(
|
| + WorkerClients* clients) {
|
| + return static_cast<AnimationWorkletProxyClient*>(
|
| + Supplement<WorkerClients>::From(clients, SupplementName()));
|
| +}
|
| +
|
| +const char* AnimationWorkletProxyClient::SupplementName() {
|
| + return "AnimationWorkletProxyClient";
|
| +}
|
| +
|
| +void ProvideAnimationWorkletProxyClientTo(WorkerClients* clients,
|
| + AnimationWorkletProxyClient* client) {
|
| + clients->ProvideSupplement(AnimationWorkletProxyClient::SupplementName(),
|
| + client);
|
| +}
|
| +
|
| +} // namespace blink
|
|
|