| Index: third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp
|
| diff --git a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp
|
| index 63d4a4a9dd2ed95dcae31741720c37674aecd8c9..3e4e7db20e971c7f5425d19f2174354966400b0a 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp
|
| +++ b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp
|
| @@ -34,8 +34,8 @@ Worklet* WindowPaintWorklet::paintWorklet(DOMWindow& window) {
|
| }
|
|
|
| PaintWorklet* WindowPaintWorklet::paintWorklet() {
|
| - if (!m_paintWorklet && host()->frame())
|
| - m_paintWorklet = PaintWorklet::create(host()->frame());
|
| + if (!m_paintWorklet && supplementable()->frame())
|
| + m_paintWorklet = PaintWorklet::create(supplementable()->frame());
|
| return m_paintWorklet.get();
|
| }
|
|
|
|
|