| 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 3e1165655c4a636622b66e7c3952f77dc46e42fd..0bc49d76d7cd57fc001478692e6e2817ade5d251 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp
|
| +++ b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp
|
| @@ -15,8 +15,6 @@ WindowPaintWorklet::WindowPaintWorklet(LocalDOMWindow& window)
|
| {
|
| }
|
|
|
| -DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(WindowPaintWorklet);
|
| -
|
| const char* WindowPaintWorklet::supplementName()
|
| {
|
| return "WindowPaintWorklet";
|
| @@ -25,7 +23,7 @@ const char* WindowPaintWorklet::supplementName()
|
| // static
|
| WindowPaintWorklet& WindowPaintWorklet::from(LocalDOMWindow& window)
|
| {
|
| - WindowPaintWorklet* supplement = static_cast<WindowPaintWorklet*>(WillBeHeapSupplement<LocalDOMWindow>::from(window, supplementName()));
|
| + WindowPaintWorklet* supplement = static_cast<WindowPaintWorklet*>(HeapSupplement<LocalDOMWindow>::from(window, supplementName()));
|
| if (!supplement) {
|
| supplement = new WindowPaintWorklet(window);
|
| provideTo(window, supplementName(), adoptPtrWillBeNoop(supplement));
|
| @@ -49,7 +47,7 @@ PaintWorklet* WindowPaintWorklet::paintWorklet(ExecutionContext* executionContex
|
| DEFINE_TRACE(WindowPaintWorklet)
|
| {
|
| visitor->trace(m_paintWorklet);
|
| - WillBeHeapSupplement<LocalDOMWindow>::trace(visitor);
|
| + HeapSupplement<LocalDOMWindow>::trace(visitor);
|
| DOMWindowProperty::trace(visitor);
|
| }
|
|
|
|
|