Remove more Mountain Lion code from WebCore
Created attachment 245572 [details] Patch
Comment on attachment 245572 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=245572&action=review > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:-2019 > -#else I think we need this #else!
Comment on attachment 245572 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=245572&action=review >> Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:-2019 >> -#else > > I think we need this #else! No, false alarm. Just the fide being dumb.
Created attachment 245581 [details] Patch Patch that uses more COCOA.
Comment on attachment 245581 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=245581&action=review > Source/WebCore/crypto/CommonCryptoUtilities.h:41 > +#if defined(__has_include) && (PLATFORM(COCOA)) Can remove the () outside PLATFORM(COCOA) > Source/WebCore/editing/cocoa/HTMLConverter.mm:1725 > +#if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || PLATFORM(MAC) This can also be PLATFORM(COCOA) - actually I think this is always going to be true inside HTMLConverter.mm! > Source/WebCore/loader/cocoa/DiskCacheMonitorCocoa.mm:44 > -#if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090) > +#if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || PLATFORM(MAC) Can just remove the #if.
Thank you! http://trac.webkit.org/changeset/179364