| 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 3aba3e96ef9a171d5e87362b00b24c0c392ff2a2..fa235a8d0be44a78e26854bccbc68824cc3b71c2 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
|
| @@ -31,8 +31,9 @@ class PaintWorkletTest : public testing::Test {
|
| };
|
|
|
| TEST_F(PaintWorkletTest, GarbageCollectionOfCSSPaintDefinition) {
|
| - PaintWorkletGlobalScope* global_scope =
|
| - GetPaintWorklet()->GetWorkletGlobalScopeProxy();
|
| + PaintWorkletGlobalScopeProxy* proxy = PaintWorkletGlobalScopeProxy::From(
|
| + GetPaintWorklet()->GetWorkletGlobalScopeProxy());
|
| + PaintWorkletGlobalScope* global_scope = proxy->global_scope();
|
| global_scope->ScriptController()->Evaluate(
|
| ScriptSourceCode("registerPaint('foo', class { paint() { } });"));
|
|
|
|
|