[EME] Fix variable name that should have gone in r236317
authorcalvaris@igalia.com <calvaris@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Sep 2018 17:19:36 +0000 (17:19 +0000)
committercalvaris@igalia.com <calvaris@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Sep 2018 17:19:36 +0000 (17:19 +0000)
https://bugs.webkit.org/show_bug.cgi?id=189944

Reviewed by Jer Noble.

m_cdmInstanceClientWeakPtrFactory becomes
m_cdmInstanceSessionClientWeakPtrFactory as its type changes to
CDMInstanceSessionClient.

* Modules/encryptedmedia/MediaKeySession.cpp:
(WebCore::MediaKeySession::MediaKeySession):
* Modules/encryptedmedia/MediaKeySession.h:

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

Source/WebCore/ChangeLog
Source/WebCore/Modules/encryptedmedia/MediaKeySession.cpp
Source/WebCore/Modules/encryptedmedia/MediaKeySession.h

index d203a71..1de906b 100644 (file)
@@ -1,3 +1,18 @@
+2018-09-25  Xabier Rodriguez Calvar  <calvaris@igalia.com>
+
+        [EME] Fix variable name that should have gone in r236317
+        https://bugs.webkit.org/show_bug.cgi?id=189944
+
+        Reviewed by Jer Noble.
+
+        m_cdmInstanceClientWeakPtrFactory becomes
+        m_cdmInstanceSessionClientWeakPtrFactory as its type changes to
+        CDMInstanceSessionClient.
+
+        * Modules/encryptedmedia/MediaKeySession.cpp:
+        (WebCore::MediaKeySession::MediaKeySession):
+        * Modules/encryptedmedia/MediaKeySession.h:
+
 2018-09-25  Simon Fraser  <simon.fraser@apple.com>
 
         Clean up code around RenderLayer's "has accelerated scrolling" functions
index da0f095..ceb741a 100644 (file)
@@ -88,7 +88,7 @@ MediaKeySession::MediaKeySession(ScriptExecutionContext& context, WeakPtr<MediaK
     UNUSED_PARAM(m_closed);
     UNUSED_PARAM(m_uninitialized);
 
-    m_instanceSession->setClient(m_cdmInstanceClientWeakPtrFactory.createWeakPtr(*this));
+    m_instanceSession->setClient(m_cdmInstanceSessionClientWeakPtrFactory.createWeakPtr(*this));
 }
 
 MediaKeySession::~MediaKeySession()
index 80eb96a..9e5fd87 100644 (file)
@@ -117,7 +117,7 @@ private:
     double m_firstDecryptTime { 0 };
     double m_latestDecryptTime { 0 };
     Vector<std::pair<Ref<SharedBuffer>, MediaKeyStatus>> m_statuses;
-    WeakPtrFactory<CDMInstanceSessionClient> m_cdmInstanceClientWeakPtrFactory;
+    WeakPtrFactory<CDMInstanceSessionClient> m_cdmInstanceSessionClientWeakPtrFactory;
 };
 
 } // namespace WebCore