blob: 26f45cc60d6c0c083348adc344d4e42ccb76e829 [file] [log] [blame]
// Copyright 2018 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 "third_party/blink/renderer/core/layout/ng/custom/css_layout_worklet.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/layout/ng/custom/layout_worklet.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
namespace blink {
// static
Worklet* CSSLayoutWorklet::layoutWorklet(ScriptState* script_state) {
return LayoutWorklet::From(*ToLocalDOMWindow(script_state->GetContext()));
}
} // namespace blink