blob: e5a2980ea19cde526e426d4e96e6ea31b583b548 [file] [log] [blame]
// 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