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

Unified Diff: third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h

Issue 2762413004: Revert of Revert "Pull AudioDestinationConsumer off the Blink GC heap." (Closed)
Patch Set: Created 3 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/platform/mediastream/MediaStreamSource.h
diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h b/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h
index d05fc45e6eb5a6ac2815853cebe3b7f24660e816..e41f74b78283eb31b503dd865900976d0a596c76 100644
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h
@@ -102,7 +102,7 @@
bool requiresAudioConsumer() const { return m_requiresConsumer; }
void addAudioConsumer(AudioDestinationConsumer*);
bool removeAudioConsumer(AudioDestinationConsumer*);
- const HeapHashSet<Member<AudioDestinationConsumer>>& audioConsumers() {
+ const HashSet<AudioDestinationConsumer*>& audioConsumers() {
return m_audioConsumers;
}
@@ -126,7 +126,7 @@
bool m_requiresConsumer;
HeapHashSet<WeakMember<Observer>> m_observers;
Mutex m_audioConsumersLock;
- HeapHashSet<Member<AudioDestinationConsumer>> m_audioConsumers;
+ HashSet<AudioDestinationConsumer*> m_audioConsumers;
std::unique_ptr<ExtraData> m_extraData;
WebMediaConstraints m_constraints;
};

Powered by Google App Engine
This is Rietveld 408576698