Bug 1300693 - adjust the indent. r=jya
authorJames Cheng <jacheng@mozilla.com>
Wed, 07 Sep 2016 15:31:22 +0800
changeset 313235 f22f33d0225884771c4e62c60a4196086ed1cc73
parent 313234 3cb8111e3723f792f1d1575393e0c118873f0128
child 313236 074fc3a0ac1f4ac5166194275ea7de7b3eb03d17
push id30676
push userkwierso@gmail.com
push dateThu, 08 Sep 2016 22:22:24 +0000
treeherdermozilla-central@176aff980979 [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;