[EME] Fix NavigatorEME::tryNextSupportedConfiguration typo
authorcalvaris@igalia.com <calvaris@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 Jan 2018 09:19:56 +0000 (09:19 +0000)
committercalvaris@igalia.com <calvaris@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 Jan 2018 09:19:56 +0000 (09:19 +0000)
https://bugs.webkit.org/show_bug.cgi?id=182324

Reviewed by Žan Doberšek.

* Modules/encryptedmedia/NavigatorEME.cpp:
(WebCore::tryNextSupportedConfiguration): Fix
candidateCofiguration typo.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227895 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/Modules/encryptedmedia/NavigatorEME.cpp

index 3f3d6ef..d389515 100644 (file)
@@ -1,3 +1,14 @@
+2018-01-31  Xabier Rodriguez Calvar  <calvaris@igalia.com>
+
+        [EME] Fix NavigatorEME::tryNextSupportedConfiguration typo
+        https://bugs.webkit.org/show_bug.cgi?id=182324
+
+        Reviewed by Žan Doberšek.
+
+        * Modules/encryptedmedia/NavigatorEME.cpp:
+        (WebCore::tryNextSupportedConfiguration): Fix
+        candidateCofiguration typo.
+
 2018-01-30  Fujii Hironori  <Hironori.Fujii@sony.com>
 
         [WinCairo] syntheticBoldOffset makes a font with embedded bitmap fonts shown as double strike in HiDPI
index d945e71..835d4f8 100644 (file)
@@ -77,7 +77,7 @@ static void tryNextSupportedConfiguration(RefPtr<CDM>&& implementation, Vector<M
         // 6.3.1. Let candidate configuration be the value.
         // 6.3.2. Let supported configuration be the result of executing the Get Supported Configuration
         //        algorithm on implementation, candidate configuration, and origin.
-        MediaKeySystemConfiguration candidateCofiguration = WTFMove(supportedConfigurations.first());
+        MediaKeySystemConfiguration candidateConfiguration = WTFMove(supportedConfigurations.first());
         supportedConfigurations.remove(0);
 
         CDM::SupportedConfigurationCallback callback = [implementation = implementation, supportedConfigurations = WTFMove(supportedConfigurations), promise] (std::optional<MediaKeySystemConfiguration> supportedConfiguration) mutable {
@@ -99,7 +99,7 @@ static void tryNextSupportedConfiguration(RefPtr<CDM>&& implementation, Vector<M
 
             tryNextSupportedConfiguration(WTFMove(implementation), WTFMove(supportedConfigurations), WTFMove(promise));
         };
-        implementation->getSupportedConfiguration(WTFMove(candidateCofiguration), WTFMove(callback));
+        implementation->getSupportedConfiguration(WTFMove(candidateConfiguration), WTFMove(callback));
         return;
     }