| 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..675de9ec267a84f1c1811d48552e0b1b46349dc4 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()->globalScopeForTesting();
|
| globalScope->scriptController()->evaluate(ScriptSourceCode("registerPaint('foo', class { paint() { } });"));
|
|
|
| CSSPaintDefinition* definition = globalScope->findDefinition("foo");
|
|
|