| Index: third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp b/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
|
| index 7b973715e9c64d2d8e9b225d25dbad246d494292..9eca6b4554601b5d7871d0600564076333d94e08 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
|
| @@ -11,9 +11,9 @@
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/testing/DummyPageHolder.h"
|
| #include "modules/csspaint/CSSPaintDefinition.h"
|
| +#include "modules/csspaint/CSSPaintWorklet.h"
|
| #include "modules/csspaint/PaintWorkletGlobalScope.h"
|
| #include "modules/csspaint/PaintWorkletGlobalScopeProxy.h"
|
| -#include "modules/csspaint/WindowPaintWorklet.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace blink {
|
| @@ -25,8 +25,7 @@ class PaintWorkletTest : public testing::Test {
|
| void SetUp() override { proxy_ = GetPaintWorklet()->CreateGlobalScope(); }
|
|
|
| PaintWorklet* GetPaintWorklet() {
|
| - return WindowPaintWorklet::From(*page_->GetFrame().DomWindow())
|
| - .paintWorklet();
|
| + return CSSPaintWorklet::paintWorklet(page_->GetDocument());
|
| }
|
|
|
| PaintWorkletGlobalScopeProxy* GetProxy() {
|
|
|