Bug 1300693 - adjust the indent. r=jya
authorJames Cheng <jacheng@mozilla.com>
Wed, 07 Sep 2016 15:31:22 +0800
changeset 313097 4d978f6af1cd9f25307e4aa32a4fadd42ec216e3
parent 313096 a89000231432bf06a069e8269af8e8a3e7f77bed
child 313098 52e72f40042db64fc3e78d4b0a6328dc135eaa76
push id30671
push usercbook@mozilla.com
push dateThu, 08 Sep 2016 09:59:51 +0000
treeherdermozilla-central@bd28be90aed8 [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;