Build fix after r188716.
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Aug 2015 02:41:52 +0000 (02:41 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Aug 2015 02:41:52 +0000 (02:41 +0000)
* platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
(WebCore::MediaPlayerPrivateMediaFoundation::endCreatedMediaSource):
(WebCore::MediaPlayerPrivateMediaFoundation::endGetEvent):
Replace m_weakFactory with m_weakPtrFactory which actually exists.

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp

index 4b3df0b..bbaf86a 100644 (file)
@@ -1,3 +1,12 @@
+2015-08-20  Alex Christensen  <achristensen@webkit.org>
+
+        Build fix after r188716.
+
+        * platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
+        (WebCore::MediaPlayerPrivateMediaFoundation::endCreatedMediaSource):
+        (WebCore::MediaPlayerPrivateMediaFoundation::endGetEvent):
+        Replace m_weakFactory with m_weakPtrFactory which actually exists.
+
 2015-08-20  Myles C. Maxfield  <mmaxfield@apple.com>
 
         [iOS] Adopt OS X's emoji behavior.
index 19e6f83..147ef08 100644 (file)
@@ -335,7 +335,7 @@ bool MediaPlayerPrivateMediaFoundation::endCreatedMediaSource(IMFAsyncResult* as
     hr = asyncResult->GetStatus();
     m_loadingProgress = SUCCEEDED(hr);
 
-    auto weakPtr = m_weakFactory.createWeakPtr();
+    auto weakPtr = m_weakPtrFactory.createWeakPtr();
     callOnMainThread([weakPtr] {
         if (!weakPtr)
             return;
@@ -365,7 +365,7 @@ bool MediaPlayerPrivateMediaFoundation::endGetEvent(IMFAsyncResult* asyncResult)
 
     switch (mediaEventType) {
     case MESessionTopologySet:
-        auto weakPtr = m_weakFactory.createWeakPtr();
+        auto weakPtr = m_weakPtrFactory.createWeakPtr();
         callOnMainThread([weakPtr] {
             if (!weakPtr)
                 return;