Changeset 201492 in webkit
- Timestamp:
- May 28, 2016, 4:16:50 PM (10 years ago)
- Location:
- trunk/Source
- Files:
-
- 8 edited
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/platform/mac/WebVideoFullscreenInterfaceMac.mm (modified) (2 diffs)
-
WebCore/platform/spi/cf/CFNetworkSPI.h (modified) (2 diffs)
-
WebCore/platform/spi/mac/AVFoundationSPI.h (modified) (1 diff)
-
WebKit2/ChangeLog (modified) (1 diff)
-
WebKit2/NetworkProcess/ios/NetworkProcessIOS.mm (modified) (2 diffs)
-
WebKit2/NetworkProcess/mac/NetworkProcessMac.mm (modified) (1 diff)
-
WebKit2/Shared/mac/CookieStorageShimLibrary.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r201490 r201492 1 2016-05-28 Alexey Proskuryakov <ap@apple.com> 2 3 Fix the build with newer clang and other custom configuration options 4 https://bugs.webkit.org/show_bug.cgi?id=158161 5 6 Reviewed by Dan Bernstein. 7 8 * platform/mac/WebVideoFullscreenInterfaceMac.mm: 9 (WebCore::WebVideoFullscreenInterfaceMac::rateChanged): Added UNUSED_PARAMs for the 10 case where this function is unimplemented. 11 (WebCore::WebVideoFullscreenInterfaceMac::setExternalPlayback): Added a non-additions 12 version of this function. 13 * platform/spi/cf/CFNetworkSPI.h: Silence nullability-completeness (and other) warnings. 14 I doubt that it's practical to get these right for every SDK version at this time. Added 15 functions for overriding HTTPS certicate behavior that we used to declare in .m files. 16 * platform/spi/mac/AVFoundationSPI.h: Define AVAssetCache conditionally. 17 1 18 2016-05-28 Ryosuke Niwa <rniwa@webkit.org> 2 19 -
trunk/Source/WebCore/platform/mac/WebVideoFullscreenInterfaceMac.mm
r200595 r201492 112 112 #if USE(APPLE_INTERNAL_SDK) 113 113 [videoFullscreenInterfaceObjC() updateIsPlaying:isPlaying newPlaybackRate:playbackRate]; 114 #else 115 UNUSED_PARAM(isPlaying); 116 UNUSED_PARAM(playbackRate); 114 117 #endif 115 118 } … … 173 176 } 174 177 178 void WebVideoFullscreenInterfaceMac::setExternalPlayback(bool, ExternalPlaybackTargetType, String) 179 { 180 } 181 175 182 bool supportsPictureInPicture() 176 183 { -
trunk/Source/WebCore/platform/spi/cf/CFNetworkSPI.h
r199167 r201492 24 24 */ 25 25 26 #pragma clang system_header 27 26 28 #ifndef CFNetworkSPI_h 27 29 #define CFNetworkSPI_h … … 86 88 #if defined(__OBJC__) 87 89 @interface NSURLRequest () 90 + (NSArray *)allowsSpecificHTTPSCertificateForHost:(NSString *)host; 91 + (void)setAllowsSpecificHTTPSCertificate:(NSArray *)allow forHost:(NSString *)host; 88 92 - (void)_setProperty:(id)value forKey:(NSString *)key; 89 93 @end -
trunk/Source/WebCore/platform/spi/mac/AVFoundationSPI.h
r199326 r201492 59 59 #import <AVFoundation/AVAssetCache_Private.h> 60 60 #else 61 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 100000) 62 #import <AVFoundation/AVAssetCache.h> 63 #else 64 @interface AVAssetCache : NSObject 65 @end 66 #endif 61 67 NS_ASSUME_NONNULL_BEGIN 62 @interface AVAssetCache : NSObject68 @interface AVAssetCache () 63 69 + (AVAssetCache *)assetCacheWithURL:(NSURL *)URL; 64 70 - (id)initWithURL:(NSURL *)URL; -
trunk/Source/WebKit2/ChangeLog
r201484 r201492 1 2016-05-28 Alexey Proskuryakov <ap@apple.com> 2 3 Fix the build with newer clang and other custom configuration options 4 https://bugs.webkit.org/show_bug.cgi?id=158161 5 6 Reviewed by Dan Bernstein. 7 8 * NetworkProcess/ios/NetworkProcessIOS.mm: -setAllowsSpecificHTTPSCertificate:forHost: 9 is now in CFNetworkSPI.h 10 * NetworkProcess/mac/NetworkProcessMac.mm: Ditto. 11 * Shared/mac/CookieStorageShimLibrary.cpp: 12 (WebKit::WebKitCookieStorageShimInitialize): Use more portable std::call_once. 13 1 14 2016-05-28 Chris Dumez <cdumez@apple.com> 2 15 -
trunk/Source/WebKit2/NetworkProcess/ios/NetworkProcessIOS.mm
r192697 r201492 34 34 #import "SandboxInitializationParameters.h" 35 35 #import "SecItemShim.h" 36 #import <WebCore/CFNetworkSPI.h> 36 37 #import <WebCore/CertificateInfo.h> 37 38 #import <WebCore/NotImplemented.h> … … 39 40 40 41 #define ENABLE_MANUAL_NETWORK_SANDBOXING 0 41 42 @interface NSURLRequest (WKDetails)43 + (void)setAllowsSpecificHTTPSCertificate:(NSArray *)certificateChain forHost:(NSString *)host;44 @end45 42 46 43 using namespace WebCore; -
trunk/Source/WebKit2/NetworkProcess/mac/NetworkProcessMac.mm
r194378 r201492 48 48 49 49 using namespace WebCore; 50 51 @interface NSURLRequest (Details)52 + (void)setAllowsSpecificHTTPSCertificate:(NSArray *)allow forHost:(NSString *)host;53 @end54 50 55 51 namespace WebKit { -
trunk/Source/WebKit2/Shared/mac/CookieStorageShimLibrary.cpp
r192697 r201492 30 30 31 31 #include <WebCore/DynamicLinkerInterposing.h> 32 #include <mutex> 32 33 33 34 extern "C" CFDictionaryRef _CFHTTPCookieStorageCopyRequestHeaderFieldsForURL(CFAllocatorRef inAllocator, CFHTTPCookieStorageRef inCookieStorage, CFURLRef inRequestURL); … … 81 82 // Because the value of cookieStorageShimCallbacks will be read from mulitple threads, 82 83 // only allow it to be initialized once. 83 static int initialized = 0; 84 if (!OSAtomicCompareAndSwapInt(0, 1, &initialized)) { 85 return; 86 } 87 88 cookieStorageShimCallbacks = callbacks; 84 static std::once_flag initializeCallbacksOnceFlag; 85 std::call_once(initializeCallbacksOnceFlag, [&callbacks] { cookieStorageShimCallbacks = callbacks; }); 89 86 } 90 87
Note:
See TracChangeset
for help on using the changeset viewer.