| Index: third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h
|
| diff --git a/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h b/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h
|
| index 3b3fc8dad72c06342f614e2d8c9dff93b26b5f37..fdbd24385c1f8ed40ab3e08651c7589e9079d409 100644
|
| --- a/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h
|
| +++ b/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h
|
| @@ -11,7 +11,7 @@
|
| #include "bindings/core/v8/ScriptValue.h"
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "core/CoreExport.h"
|
| -#include "core/dom/ActiveDOMObject.h"
|
| +#include "core/dom/SuspendableObject.h"
|
| #include "platform/heap/GarbageCollected.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| @@ -23,7 +23,7 @@ class CORE_EXPORT UnderlyingSourceBase
|
| : public GarbageCollectedFinalized<UnderlyingSourceBase>,
|
| public ScriptWrappable,
|
| public ActiveScriptWrappable,
|
| - public ActiveDOMObject {
|
| + public SuspendableObject {
|
| DEFINE_WRAPPERTYPEINFO();
|
| USING_GARBAGE_COLLECTED_MIXIN(UnderlyingSourceBase);
|
|
|
| @@ -45,13 +45,13 @@ class CORE_EXPORT UnderlyingSourceBase
|
| // ScriptWrappable
|
| bool hasPendingActivity() const;
|
|
|
| - // ActiveDOMObject
|
| + // SuspendableObject
|
| void contextDestroyed() override;
|
|
|
| protected:
|
| explicit UnderlyingSourceBase(ScriptState* scriptState)
|
| : ActiveScriptWrappable(this),
|
| - ActiveDOMObject(scriptState->getExecutionContext()) {
|
| + SuspendableObject(scriptState->getExecutionContext()) {
|
| this->suspendIfNeeded();
|
| }
|
|
|
|
|