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

Unified Diff: Source/modules/mediasource/MediaSource.cpp

Issue 360323002: MediaSource must use ref-counting to handle pending activity counting. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert HTMLMediaElement changes Created 6 years, 6 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: Source/modules/mediasource/MediaSource.cpp
diff --git a/Source/modules/mediasource/MediaSource.cpp b/Source/modules/mediasource/MediaSource.cpp
index 2efbc3eb0cd54588fb4ecd5cef3b24fb37d257fb..aa0a295c25867c84b0cc201706fd769ca934c6a0 100644
--- a/Source/modules/mediasource/MediaSource.cpp
+++ b/Source/modules/mediasource/MediaSource.cpp
@@ -89,7 +89,7 @@ const AtomicString& MediaSource::endedKeyword()
MediaSource* MediaSource::create(ExecutionContext* context)
{
- MediaSource* mediaSource(adoptRefCountedGarbageCollectedWillBeNoop(new MediaSource(context)));
+ MediaSource* mediaSource(adoptRefCountedGarbageCollected(new MediaSource(context)));
mediaSource->suspendIfNeeded();
return mediaSource;
}
« Source/modules/mediasource/MediaSource.h ('K') | « Source/modules/mediasource/MediaSource.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698