Bug 1300693 - adjust the indent. r=jya
authorJames Cheng <jacheng@mozilla.com>
Wed, 07 Sep 2016 15:31:22 +0800
changeset 354382 4d978f6af1cd9f25307e4aa32a4fadd42ec216e3
parent 354381 a89000231432bf06a069e8269af8e8a3e7f77bed
child 354383 52e72f40042db64fc3e78d4b0a6328dc135eaa76
push id6570
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:26:13 +0000
treeherdermozilla-beta@f455459b2ae5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya
bugs1300693
milestone51.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 1300693 - adjust the indent. r=jya MozReview-Commit-ID: 1CMzYy3jQPC
dom/media/platforms/PDMFactory.cpp
--- a/dom/media/platforms/PDMFactory.cpp
+++ b/dom/media/platforms/PDMFactory.cpp
@@ -118,20 +118,20 @@ public:
       });
     }
   }
 
   SupportChecker::Result
   Check()
   {
     for (auto& checker : mCheckerList) {
-    auto result = checker();
-    if (result != SupportChecker::Result::kSupported) {
-      return result;
-    }
+      auto result = checker();
+        if (result != SupportChecker::Result::kSupported) {
+          return result;
+      }
     }
     return SupportChecker::Result::kSupported;
   }
 
   void Clear() { mCheckerList.Clear(); }
 
 private:
   nsTArray<mozilla::function<SupportChecker::Result()>> mCheckerList;