Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(684)

Unified Diff: third_party/WebKit/Source/core/streams/Stream.cpp

Issue 1808533003: Revert of Reduce ActiveDOMObjects from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c9dd69cddbbd3fe79a7c90c9e3b1e4d660e9a3df..16ac9c07ea0bb803a0df99120910950d78dac541 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)
- : ContextLifecycleObserver(context)
+ : ActiveDOMObject(context)
, m_mediaType(mediaType)
, m_isNeutered(false)
{
@@ -75,7 +75,15 @@
BlobRegistry::unregisterStreamURL(m_internalURL);
}
-void Stream::contextDestroyed()
+void Stream::suspend()
+{
+}
+
+void Stream::resume()
+{
+}
+
+void Stream::stop()
{
neuter();
abort();
@@ -83,7 +91,7 @@
DEFINE_TRACE(Stream)
{
- ContextLifecycleObserver::trace(visitor);
+ ActiveDOMObject::trace(visitor);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/streams/Stream.h ('k') | third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698