| Index: third_party/WebKit/Source/core/workers/Worklet.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/Worklet.cpp b/third_party/WebKit/Source/core/workers/Worklet.cpp
|
| index a44d15db0c01c7f352d5e7f378bbd9ff78dcff93..b2bc36774e9c1858c1a467a3fdd642d9b4e1fb97 100644
|
| --- a/third_party/WebKit/Source/core/workers/Worklet.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/Worklet.cpp
|
| @@ -20,7 +20,7 @@
|
| namespace blink {
|
|
|
| Worklet::Worklet(LocalFrame* frame)
|
| - : SuspendableObject(frame->document()),
|
| + : ContextLifecycleObserver(frame->document()),
|
| m_fetcher(frame->loader().documentLoader()->fetcher()) {}
|
|
|
| ScriptPromise Worklet::import(ScriptState* scriptState, const String& url) {
|
| @@ -71,7 +71,7 @@ void Worklet::contextDestroyed() {
|
| DEFINE_TRACE(Worklet) {
|
| visitor->trace(m_fetcher);
|
| visitor->trace(m_scriptLoaders);
|
| - SuspendableObject::trace(visitor);
|
| + ContextLifecycleObserver::trace(visitor);
|
| }
|
|
|
| } // namespace blink
|
|
|