[Win] Build fix aftr r174347.
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Oct 2014 18:01:20 +0000 (18:01 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Oct 2014 18:01:20 +0000 (18:01 +0000)
* platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: Use correct build
macro to prevent build break when ENCRYPTED_MEDIA_V2 is not enabled.

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp

index cd9ebfc..6a66fdc 100644 (file)
@@ -1,5 +1,12 @@
 2014-10-06  Brent Fulgham  <bfulgham@apple.com>
 
+        [Win] Build fix aftr r174347.
+
+        * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: Use correct build
+        macro to prevent build break when ENCRYPTED_MEDIA_V2 is not enabled.
+
+2014-10-06  Brent Fulgham  <bfulgham@apple.com>
+
         [Win] Project file gardening.
 
         * WebCore.vcxproj/WebCore.vcxproj.filters: Move EditorWin.cpp and
index a15c9c3..cf60e7d 100644 (file)
@@ -197,7 +197,7 @@ private:
 
     InbandTextTrackPrivateAVF* m_currentTextTrack;
 
-#if ENABLE(ENCRYPTED_MEDIA_V2)
+#if HAVE(AVFOUNDATION_LOADER_DELEGATE)
     HashMap<String, Vector<RetainPtr<AVCFAssetResourceLoadingRequestRef>>> m_keyURIToRequestMap;
     AVCFAssetResourceLoaderCallbacks m_resourceLoaderCallbacks;
 #endif