author | James Cheng <jacheng@mozilla.com> |
Wed, 07 Sep 2016 15:31:22 +0800 | |
changeset 313235 | f22f33d0225884771c4e62c60a4196086ed1cc73 |
parent 313234 | 3cb8111e3723f792f1d1575393e0c118873f0128 |
child 313236 | 074fc3a0ac1f4ac5166194275ea7de7b3eb03d17 |
push id | 30676 |
push user | kwierso@gmail.com |
push date | Thu, 08 Sep 2016 22:22:24 +0000 |
treeherder | mozilla-central@176aff980979 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jya |
bugs | 1300693 |
milestone | 51.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
|
--- 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;