Bug 1434946 - Indentation fix. r=jib
authorAndreas Pehrson <pehrsons@mozilla.com>
Thu, 01 Feb 2018 18:35:55 +0100
changeset 402727 210eba4219fabcc3db899e09b4940fe01d3e3fb5
parent 402726 cf134b262f6a7223d9c94ffde7b110bc08a37bb0
child 402728 634e741ea109bdb4b8e37980962335662de32106
push id33401
push useraciure@mozilla.com
push dateWed, 07 Feb 2018 22:04:30 +0000
treeherdermozilla-central@fc3d9de1f56c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjib
bugs1434946
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1434946 - Indentation fix. r=jib MozReview-Commit-ID: JCQxatbThyI
dom/media/webrtc/MediaEngineRemoteVideoSource.cpp
--- a/dom/media/webrtc/MediaEngineRemoteVideoSource.cpp
+++ b/dom/media/webrtc/MediaEngineRemoteVideoSource.cpp
@@ -597,17 +597,17 @@ MediaEngineRemoteVideoSource::GetFitness
   // Treat width|height|frameRate == 0 on capability as "can do any".
   // This allows for orthogonal capabilities that are not in discrete steps.
 
   typedef MediaConstraintsHelper H;
   uint64_t distance =
     uint64_t(H::FitnessDistance(aDeviceId, aConstraints.mDeviceId)) +
     uint64_t(H::FitnessDistance(mFacingMode, aConstraints.mFacingMode)) +
     uint64_t(aCandidate.width ? H::FitnessDistance(int32_t(aCandidate.width),
-                                                  aConstraints.mWidth) : 0) +
+                                                   aConstraints.mWidth) : 0) +
     uint64_t(aCandidate.height ? H::FitnessDistance(int32_t(aCandidate.height),
                                                     aConstraints.mHeight) : 0) +
     uint64_t(aCandidate.maxFPS ? H::FitnessDistance(double(aCandidate.maxFPS),
                                                     aConstraints.mFrameRate) : 0);
   return uint32_t(std::min(distance, uint64_t(UINT32_MAX)));
 }
 
 uint32_t