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

Unified Diff: Source/platform/mediastream/MediaStreamSource.cpp

Issue 858663002: Fix template angle bracket syntax in platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 11 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
« no previous file with comments | « Source/platform/mediastream/MediaStreamSource.h ('k') | Source/platform/mediastream/RTCConfiguration.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mediastream/MediaStreamSource.cpp
diff --git a/Source/platform/mediastream/MediaStreamSource.cpp b/Source/platform/mediastream/MediaStreamSource.cpp
index 80b2a5b1275ffc53919e2a7bf0a8df2f643ea75c..f03a996183f450ece8d3b3a900a4892afde9c4bf 100644
--- a/Source/platform/mediastream/MediaStreamSource.cpp
+++ b/Source/platform/mediastream/MediaStreamSource.cpp
@@ -82,7 +82,7 @@ bool MediaStreamSource::removeAudioConsumer(AudioDestinationConsumer* consumer)
{
ASSERT(m_requiresConsumer);
MutexLocker locker(m_audioConsumersLock);
- HeapHashSet<Member<AudioDestinationConsumer> >::iterator it = m_audioConsumers.find(consumer);
+ HeapHashSet<Member<AudioDestinationConsumer>>::iterator it = m_audioConsumers.find(consumer);
if (it == m_audioConsumers.end())
return false;
m_audioConsumers.remove(it);
@@ -93,7 +93,7 @@ void MediaStreamSource::setAudioFormat(size_t numberOfChannels, float sampleRate
{
ASSERT(m_requiresConsumer);
MutexLocker locker(m_audioConsumersLock);
- for (HeapHashSet<Member<AudioDestinationConsumer> >::iterator it = m_audioConsumers.begin(); it != m_audioConsumers.end(); ++it)
+ for (HeapHashSet<Member<AudioDestinationConsumer>>::iterator it = m_audioConsumers.begin(); it != m_audioConsumers.end(); ++it)
(*it)->setFormat(numberOfChannels, sampleRate);
}
@@ -101,7 +101,7 @@ void MediaStreamSource::consumeAudio(AudioBus* bus, size_t numberOfFrames)
{
ASSERT(m_requiresConsumer);
MutexLocker locker(m_audioConsumersLock);
- for (HeapHashSet<Member<AudioDestinationConsumer> >::iterator it = m_audioConsumers.begin(); it != m_audioConsumers.end(); ++it)
+ for (HeapHashSet<Member<AudioDestinationConsumer>>::iterator it = m_audioConsumers.begin(); it != m_audioConsumers.end(); ++it)
(*it)->consumeAudio(bus, numberOfFrames);
}
« no previous file with comments | « Source/platform/mediastream/MediaStreamSource.h ('k') | Source/platform/mediastream/RTCConfiguration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698