| Index: third_party/WebKit/Source/core/streams/Stream.cpp
|
| diff --git a/third_party/WebKit/Source/core/streams/Stream.cpp b/third_party/WebKit/Source/core/streams/Stream.cpp
|
| index 16ac9c07ea0bb803a0df99120910950d78dac541..c9dd69cddbbd3fe79a7c90c9e3b1e4d660e9a3df 100644
|
| --- a/third_party/WebKit/Source/core/streams/Stream.cpp
|
| +++ b/third_party/WebKit/Source/core/streams/Stream.cpp
|
| @@ -37,7 +37,7 @@
|
| namespace blink {
|
|
|
| Stream::Stream(ExecutionContext* context, const String& mediaType)
|
| - : ActiveDOMObject(context)
|
| + : ContextLifecycleObserver(context)
|
| , m_mediaType(mediaType)
|
| , m_isNeutered(false)
|
| {
|
| @@ -75,15 +75,7 @@ Stream::~Stream()
|
| BlobRegistry::unregisterStreamURL(m_internalURL);
|
| }
|
|
|
| -void Stream::suspend()
|
| -{
|
| -}
|
| -
|
| -void Stream::resume()
|
| -{
|
| -}
|
| -
|
| -void Stream::stop()
|
| +void Stream::contextDestroyed()
|
| {
|
| neuter();
|
| abort();
|
| @@ -91,7 +83,7 @@ void Stream::stop()
|
|
|
| DEFINE_TRACE(Stream)
|
| {
|
| - ActiveDOMObject::trace(visitor);
|
| + ContextLifecycleObserver::trace(visitor);
|
| }
|
|
|
| } // namespace blink
|
|
|