blob: 17598d4741c58f630445ea012167289cf8d62e17 [file] [log] [blame]
// Copyright 2017 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 "modules/csspaint/CSSPaintWorklet.h"
#include "bindings/core/v8/V8BindingForCore.h"
#include "core/frame/LocalDOMWindow.h"
#include "modules/csspaint/PaintWorklet.h"
#include "platform/bindings/ScriptState.h"
namespace blink {
// static
Worklet* CSSPaintWorklet::paintWorklet(ScriptState* script_state) {
return PaintWorklet::From(*ToLocalDOMWindow(script_state->GetContext()));
}
} // namespace blink