Bug 1404977 - Part 4 - Format a comment and remove an unused and now useless method. r?pehrsons draft
authorPaul Adenot <paul@paul.cx>
Mon, 30 Apr 2018 15:20:58 +0200
changeset 819691 4aa4fbbcf21e547f7dbeecced43f52eca0d6e9e6
parent 819690 9f885a90a595c4d873ac5b15c85c208b8ab65922
child 819692 cb517cd70d07b69b04bf8bec5a2387e71d8445b9
push id116617
push userpaul@paul.cx
push dateWed, 18 Jul 2018 11:12:42 +0000
reviewerspehrsons
bugs1404977
milestone63.0a1
Bug 1404977 - Part 4 - Format a comment and remove an unused and now useless method. r?pehrsons MozReview-Commit-ID: 8RG6H6B7zvp
dom/media/webrtc/MediaEngineWebRTC.cpp
--- a/dom/media/webrtc/MediaEngineWebRTC.cpp
+++ b/dom/media/webrtc/MediaEngineWebRTC.cpp
@@ -211,17 +211,18 @@ MediaEngineWebRTC::EnumerateMicrophoneDe
   }
 }
 
 void
 MediaEngineWebRTC::EnumerateDevices(uint64_t aWindowId,
                                     dom::MediaSourceEnum aMediaSource,
                                     nsTArray<RefPtr<MediaEngineSource> >* aSources)
 {
-  // We spawn threads to handle gUM runnables, so we must protect the member vars
+  // We spawn threads to handle gUM runnables, so we must protect the member
+  // vars
   MutexAutoLock lock(mMutex);
   if (MediaEngineSource::IsVideo(aMediaSource)) {
     EnumerateVideoDevices(aWindowId, aMediaSource, aSources);
   } else if (aMediaSource == dom::MediaSourceEnum::AudioCapture) {
     RefPtr<MediaEngineWebRTCAudioCaptureSource> audioCaptureSource =
       new MediaEngineWebRTCAudioCaptureSource(nullptr);
     aSources->AppendElement(audioCaptureSource);
   } else {