| 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 368ab9a48163b1279be909f4675410bad77fb3a1..eb7740a195480ac32b3c6d411f51f6f2c7eceeff 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
|
| @@ -44,7 +44,7 @@ protected:
|
|
|
| TEST_F(PaintWorkletTest, GarbageCollectionOfCSSPaintDefinition)
|
| {
|
| - PaintWorkletGlobalScope* globalScope = toPaintWorkletGlobalScope(paintWorklet()->workletGlobalScope());
|
| + PaintWorkletGlobalScope* globalScope = paintWorklet()->workletGlobalScopeProxy();
|
| globalScope->scriptController()->evaluate(ScriptSourceCode("registerPaint('foo', class { paint() { } });"));
|
|
|
| CSSPaintDefinition* definition = globalScope->findDefinition("foo");
|
|
|