Skip to content
  • psolanki@apple.com's avatar
    objc/objc-runtime.h does not exist on all PLATFORM(MAC) · bcd2d2f2
    psolanki@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=101780
    
    Reviewed by Brent Fulgham.
    
    Clean up header includes so we don't include objc/objc-runtime.h.
    
    Source/WebCore:
    
    No new tests because no functional changes.
    
    * bridge/objc/objc_header.h:
    * page/mac/EventHandlerMac.mm:
    * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
    * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm:
    * platform/graphics/ca/mac/PlatformCALayerMac.mm:
    * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
    * platform/graphics/mac/WebLayer.mm:
    * platform/mac/WebCoreObjCExtras.mm:
    * platform/mac/WebVideoFullscreenController.mm:
    
    Source/WebKit/mac:
    
    * Carbon/HIWebView.mm:
    (UpdateCommandStatus): Use wtfObjcMsgSend template instead of objc_msgSend.
    * Plugins/WebNetscapePluginView.mm:
    * Plugins/WebPluginContainerCheck.mm:
    (-[WebPluginContainerCheck _continueWithPolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
    * Plugins/WebPluginController.mm:
    * WebCoreSupport/WebCachedFramePlatformData.h:
    * WebCoreSupport/WebDeviceOrientationClient.mm:
    * WebView/WebDelegateImplementationCaching.mm:
    * WebView/WebHTMLView.mm:
    * WebView/WebPDFDocumentExtras.mm:
    * WebView/WebPolicyDelegate.mm:
    (-[WebPolicyDecisionListener _usePolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
    * WebView/WebView.mm:
    
    Source/WebKit2:
    
    * PluginProcess/mac/PluginProcessShim.mm:
    * UIProcess/API/mac/PDFViewController.mm:
    
    Source/WTF:
    
    * wtf/Functional.h:
    * wtf/ObjcRuntimeExtras.h: Include objc/message.h here so we don't rely on proper ordering
    of includes in files that include this header.
    
    Tools:
    
    * DumpRenderTree/mac/DumpRenderTree.mm:
    * DumpRenderTree/mac/ObjCPlugin.m:
    * TestWebKitAPI/mac/InstanceMethodSwizzler.h:
    * WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    bcd2d2f2