Changeset 180482 in webkit
- Timestamp:
- Feb 21, 2015 5:56:39 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r180481 r180482 1 2015-02-21 David Kilzer <ddkilzer@apple.com> 2 3 [iOS] Fix build failure after including CoreMediaSoftLink.h in WebVideoFullscreenInterfaceAVKit.mm 4 <http://webkit.org/b/141816> 5 6 Attempt to fix the following build failure: 7 8 WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm:68:1: error: call to 'CoreMediaLibrary' is ambiguous 9 SOFT_LINK(CoreMedia, CMTimeRangeContainsTime, Boolean, (CMTimeRange range, CMTime time), (range, time)) 10 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 In file included from WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm:34: 12 In file included from WebCore/platform/cf/CoreMediaSoftLink.h:32: 13 WebCore/platform/mac/SoftLinking.h:107:79: note: expanded from macro 'SOFT_LINK' 14 <scratch space>:58:1: note: expanded from here 15 CoreMediaLibrary 16 ^~~~~~~~~~~~~~~~ 17 In file included from WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm:34: 18 WebCore/platform/cf/CoreMediaSoftLink.h:35:1: note: candidate function 19 SOFT_LINK_FRAMEWORK_HEADER(WebCore, CoreMedia) 20 ^ 21 In file included from WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm:34: 22 In file included from WebCore/platform/cf/CoreMediaSoftLink.h:32: 23 WebCore/platform/mac/SoftLinking.h:298:18: note: expanded from macro 'SOFT_LINK_FRAMEWORK_HEADER' 24 <scratch space>:42:1: note: expanded from here 25 CoreMediaLibrary 26 ^ 27 WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm:67:1: note: candidate function 28 SOFT_LINK_FRAMEWORK(CoreMedia) 29 ^ 30 In file included from WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm:34: 31 In file included from WebCore/platform/cf/CoreMediaSoftLink.h:32: 32 WebCore/platform/mac/SoftLinking.h:46:18: note: expanded from macro 'SOFT_LINK_FRAMEWORK' 33 <scratch space>:51:1: note: expanded from here 34 CoreMediaLibrary 35 ^ 36 37 * platform/ios/WebVideoFullscreenInterfaceAVKit.mm: Remove the 38 SOFT_LINK_FRAMEWORK(CoreMedia) macro since the remaining 39 SOFT_LINK() and SOFT_LINK_CONSTANT() macros can use the 40 CoreMediaLibrary() method exposed by CoreMediaSoftLink.h. 41 1 42 2015-02-21 David Kilzer <ddkilzer@apple.com> 2 43 -
trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm
r180366 r180482 32 32 33 33 #import "AVKitSPI.h" 34 #import "CoreMediaSoftLink.h"35 34 #import "Logging.h" 36 35 #import "GeometryUtilities.h" … … 49 48 using namespace WebCore; 50 49 50 // Soft-linking headers must be included last since they #define functions, constants, etc. 51 #import "CoreMediaSoftLink.h" 52 51 53 SOFT_LINK_FRAMEWORK(AVFoundation) 52 54 SOFT_LINK_CLASS(AVFoundation, AVPlayerLayer) … … 65 67 SOFT_LINK_CLASS(UIKit, UIColor) 66 68 67 SOFT_LINK_FRAMEWORK(CoreMedia)68 69 SOFT_LINK(CoreMedia, CMTimeRangeContainsTime, Boolean, (CMTimeRange range, CMTime time), (range, time)) 69 70 SOFT_LINK(CoreMedia, CMTimeRangeMake, CMTimeRange, (CMTime start, CMTime duration), (start, duration))
Note: See TracChangeset
for help on using the changeset viewer.