Changeset 135882 in webkit
- Timestamp:
- Nov 27, 2012, 10:58:42 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r135854 r135882 1 2012-11-27 Pratik Solanki <psolanki@apple.com> 2 3 objc/objc-runtime.h does not exist on all PLATFORM(MAC) 4 https://bugs.webkit.org/show_bug.cgi?id=101780 5 6 Reviewed by Brent Fulgham. 7 8 Clean up header includes so we don't include objc/objc-runtime.h. 9 10 * wtf/Functional.h: 11 * wtf/ObjcRuntimeExtras.h: Include objc/message.h here so we don't rely on proper ordering 12 of includes in files that include this header. 13 1 14 2012-11-27 Sheriff Bot <webkit.review.bot@gmail.com> 2 15 -
trunk/Source/WTF/wtf/Functional.h
r127306 r135882 34 34 #if PLATFORM(MAC) && COMPILER_SUPPORTS(BLOCKS) 35 35 #include <Block.h> 36 #include <objc/objc-runtime.h>37 36 #include <wtf/ObjcRuntimeExtras.h> 38 37 #endif -
trunk/Source/WTF/wtf/ObjcRuntimeExtras.h
r127306 r135882 25 25 #ifndef WTF_ObjcRuntimeExtras_h 26 26 #define WTF_ObjcRuntimeExtras_h 27 28 #include <objc/message.h> 27 29 28 30 template<typename RetType> -
trunk/Source/WebCore/ChangeLog
r135881 r135882 1 2012-11-27 Pratik Solanki <psolanki@apple.com> 2 3 objc/objc-runtime.h does not exist on all PLATFORM(MAC) 4 https://bugs.webkit.org/show_bug.cgi?id=101780 5 6 Reviewed by Brent Fulgham. 7 8 Clean up header includes so we don't include objc/objc-runtime.h. 9 10 No new tests because no functional changes. 11 12 * bridge/objc/objc_header.h: 13 * page/mac/EventHandlerMac.mm: 14 * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: 15 * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm: 16 * platform/graphics/ca/mac/PlatformCALayerMac.mm: 17 * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: 18 * platform/graphics/mac/WebLayer.mm: 19 * platform/mac/WebCoreObjCExtras.mm: 20 * platform/mac/WebVideoFullscreenController.mm: 21 1 22 2012-11-27 Eberhard Graether <egraether@google.com> 2 23 -
trunk/Source/WebCore/bridge/objc/objc_header.h
r15071 r135882 31 31 #include <objc/objc.h> 32 32 #include <objc/objc-class.h> 33 #include <objc/ objc-runtime.h>33 #include <objc/runtime.h> 34 34 35 35 typedef Class ClassStructPtr; -
trunk/Source/WebCore/page/mac/EventHandlerMac.mm
r132551 r135882 49 49 #include "Settings.h" 50 50 #include "WebCoreSystemInterface.h" 51 #include <objc/objc-runtime.h>52 51 #include <wtf/MainThread.h> 53 52 #include <wtf/ObjcRuntimeExtras.h> -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
r134802 r135882 44 44 #import "WebCoreAVFResourceLoader.h" 45 45 #import "WebCoreSystemInterface.h" 46 #import <objc/ objc-runtime.h>46 #import <objc/runtime.h> 47 47 #import <wtf/UnusedParam.h> 48 48 #import <wtf/Uint8Array.h> -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm
r134814 r135882 39 39 #import "UTIUtilities.h" 40 40 #import <AVFoundation/AVAssetResourceLoader.h> 41 #import <objc/ objc-runtime.h>41 #import <objc/runtime.h> 42 42 #import <wtf/text/CString.h> 43 43 -
trunk/Source/WebCore/platform/graphics/ca/mac/PlatformCALayerMac.mm
r132982 r135882 41 41 #import "WebTileCacheLayer.h" 42 42 #import <objc/objc-auto.h> 43 #import <objc/ objc-runtime.h>43 #import <objc/runtime.h> 44 44 #import <QuartzCore/QuartzCore.h> 45 45 #import <wtf/CurrentTime.h> -
trunk/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm
r131502 r135882 44 44 #import "WebCoreSystemInterface.h" 45 45 #import <QTKit/QTKit.h> 46 #import <objc/ objc-runtime.h>46 #import <objc/runtime.h> 47 47 #import <wtf/UnusedParam.h> 48 48 -
trunk/Source/WebCore/platform/graphics/mac/WebLayer.mm
r134755 r135882 34 34 #import "PlatformCALayer.h" 35 35 #import "ThemeMac.h" 36 #import <objc/ objc-runtime.h>36 #import <objc/runtime.h> 37 37 #import <QuartzCore/QuartzCore.h> 38 38 #import <wtf/UnusedParam.h> -
trunk/Source/WebCore/platform/mac/WebCoreObjCExtras.mm
r127193 r135882 36 36 37 37 #include <objc/objc-auto.h> 38 #include <objc/objc-runtime.h>39 38 #include <utility> 40 39 #include <wtf/Assertions.h> -
trunk/Source/WebCore/platform/mac/WebVideoFullscreenController.mm
r122400 r135882 37 37 #import <WebCore/HTMLMediaElement.h> 38 38 #import <WebCore/SoftLinking.h> 39 #import <objc/ objc-runtime.h>39 #import <objc/runtime.h> 40 40 #import <wtf/UnusedParam.h> 41 41 -
trunk/Source/WebKit/mac/Carbon/HIWebView.mm
r85036 r135882 37 37 #import "WebKit.h" 38 38 #import <WebKitSystemInterface.h> 39 #import < objc/objc-runtime.h>39 #import <wtf/ObjcRuntimeExtras.h> 40 40 41 41 @interface NSWindow (AppKitSecretsHIWebViewKnows) … … 1167 1167 // Can't use -performSelector:withObject: here because the method we're calling returns BOOL, while 1168 1168 // -performSelector:withObject:'s return value is assumed to be an id. 1169 BOOL (*validationFunction)(id, SEL, id) = (BOOL (*)(id, SEL, id))objc_msgSend; 1170 if (validationFunction(resp, @selector(validateUserInterfaceItem:), proxy)) 1169 if (wtfObjcMsgSend<BOOL>(resp, @selector(validateUserInterfaceItem:), proxy)) 1171 1170 EnableMenuItem( inCommand->menu.menuRef, inCommand->menu.menuItemIndex ); 1172 1171 else -
trunk/Source/WebKit/mac/ChangeLog
r135837 r135882 1 2012-11-27 Pratik Solanki <psolanki@apple.com> 2 3 objc/objc-runtime.h does not exist on all PLATFORM(MAC) 4 https://bugs.webkit.org/show_bug.cgi?id=101780 5 6 Reviewed by Brent Fulgham. 7 8 Clean up header includes so we don't include objc/objc-runtime.h. 9 10 * Carbon/HIWebView.mm: 11 (UpdateCommandStatus): Use wtfObjcMsgSend template instead of objc_msgSend. 12 * Plugins/WebNetscapePluginView.mm: 13 * Plugins/WebPluginContainerCheck.mm: 14 (-[WebPluginContainerCheck _continueWithPolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend. 15 * Plugins/WebPluginController.mm: 16 * WebCoreSupport/WebCachedFramePlatformData.h: 17 * WebCoreSupport/WebDeviceOrientationClient.mm: 18 * WebView/WebDelegateImplementationCaching.mm: 19 * WebView/WebHTMLView.mm: 20 * WebView/WebPDFDocumentExtras.mm: 21 * WebView/WebPolicyDelegate.mm: 22 (-[WebPolicyDecisionListener _usePolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend. 23 * WebView/WebView.mm: 24 1 25 2012-11-27 Sheriff Bot <webkit.review.bot@gmail.com> 2 26 -
trunk/Source/WebKit/mac/Plugins/WebNetscapePluginView.mm
r130612 r135882 78 78 #import <WebKit/DOMPrivate.h> 79 79 #import <WebKit/WebUIDelegate.h> 80 #import <objc/ objc-runtime.h>80 #import <objc/runtime.h> 81 81 #import <runtime/InitializeThreading.h> 82 82 #import <runtime/JSLock.h> -
trunk/Source/WebKit/mac/Plugins/WebPluginContainerCheck.mm
r67316 r135882 43 43 #import <WebCore/SecurityOrigin.h> 44 44 #import <wtf/Assertions.h> 45 #import < objc/objc-runtime.h>45 #import <wtf/ObjcRuntimeExtras.h> 46 46 47 47 using namespace WebCore; … … 88 88 { 89 89 if (_contextInfo) 90 ((void (*)(id, SEL, BOOL, id))objc_msgSend)(_resultObject, _resultSelector, (policy == PolicyUse), _contextInfo);90 wtfObjcMsgSend<void>(_resultObject, _resultSelector, (policy == PolicyUse), _contextInfo); 91 91 else 92 ((void (*)(id, SEL, BOOL))objc_msgSend)(_resultObject, _resultSelector, (policy == PolicyUse));92 wtfObjcMsgSend<void>(_resultObject, _resultSelector, (policy == PolicyUse)); 93 93 94 94 // this will call indirectly call cancel -
trunk/Source/WebKit/mac/Plugins/WebPluginController.mm
r135837 r135882 58 58 #import <WebCore/ScriptController.h> 59 59 #import <WebCore/WebCoreURLResponse.h> 60 #import <objc/ objc-runtime.h>60 #import <objc/runtime.h> 61 61 #import <runtime/JSLock.h> 62 62 #import <wtf/text/WTFString.h> -
trunk/Source/WebKit/mac/WebCoreSupport/WebCachedFramePlatformData.h
r127193 r135882 27 27 */ 28 28 29 #import <objc/objc-runtime.h>30 29 #import <WebCore/CachedFramePlatformData.h> 31 30 #import <wtf/ObjcRuntimeExtras.h> -
trunk/Source/WebKit/mac/WebCoreSupport/WebDeviceOrientationClient.mm
r127193 r135882 29 29 #import "WebDeviceOrientationProvider.h" 30 30 #import "WebViewInternal.h" 31 #import <objc/objc-runtime.h>32 31 #import <wtf/ObjcRuntimeExtras.h> 33 32 -
trunk/Source/WebKit/mac/WebView/WebDelegateImplementationCaching.mm
r129545 r135882 33 33 #import "WebView.h" 34 34 #import "WebViewData.h" 35 #import <objc/objc-runtime.h>36 35 #import <wtf/ObjcRuntimeExtras.h> 37 36 -
trunk/Source/WebKit/mac/WebView/WebHTMLView.mm
r130947 r135882 126 126 #import <dlfcn.h> 127 127 #import <limits> 128 #import <objc/objc-runtime.h>129 128 #import <runtime/InitializeThreading.h> 130 129 #import <wtf/MainThread.h> -
trunk/Source/WebKit/mac/WebView/WebPDFDocumentExtras.mm
r122400 r135882 30 30 #import <wtf/RetainPtr.h> 31 31 #import <PDFKit/PDFDocument.h> 32 #import <objc/objc-runtime.h>33 32 34 33 #if __MAC_OS_X_VERSION_MIN_REQUIRED == 1050 -
trunk/Source/WebKit/mac/WebView/WebPolicyDelegate.mm
r34523 r135882 30 30 31 31 #import <WebCore/FrameLoaderTypes.h> 32 #import < objc/objc-runtime.h>32 #import <wtf/ObjcRuntimeExtras.h> 33 33 34 34 using namespace WebCore; … … 92 92 { 93 93 if (_private->target) 94 ((void (*)(id, SEL, PolicyAction))objc_msgSend)(_private->target, _private->action, policy);94 wtfObjcMsgSend<void>(_private->target, _private->action, policy); 95 95 } 96 96 -
trunk/Source/WebKit/mac/WebView/WebView.mm
r134960 r135882 182 182 #import <mach-o/dyld.h> 183 183 #import <objc/objc-auto.h> 184 #import <objc/ objc-runtime.h>184 #import <objc/runtime.h> 185 185 #import <runtime/ArrayPrototype.h> 186 186 #import <runtime/DateInstance.h> -
trunk/Source/WebKit2/ChangeLog
r135879 r135882 1 2012-11-27 Pratik Solanki <psolanki@apple.com> 2 3 objc/objc-runtime.h does not exist on all PLATFORM(MAC) 4 https://bugs.webkit.org/show_bug.cgi?id=101780 5 6 Reviewed by Brent Fulgham. 7 8 Clean up header includes so we don't include objc/objc-runtime.h. 9 10 * PluginProcess/mac/PluginProcessShim.mm: 11 * UIProcess/API/mac/PDFViewController.mm: 12 1 13 2012-11-27 Alexey Proskuryakov <ap@apple.com> 2 14 -
trunk/Source/WebKit2/PluginProcess/mac/PluginProcessShim.mm
r128236 r135882 31 31 #import <WebKitSystemInterface.h> 32 32 #import <stdio.h> 33 #import <objc/ objc-runtime.h>33 #import <objc/message.h> 34 34 35 35 #define DYLD_INTERPOSE(_replacement,_replacee) \ -
trunk/Source/WebKit2/UIProcess/API/mac/PDFViewController.mm
r127313 r135882 37 37 #import <PDFKit/PDFKit.h> 38 38 #import <WebCore/LocalizedStrings.h> 39 #import <objc/objc-runtime.h>40 39 #import <wtf/ObjcRuntimeExtras.h> 41 40 #import <wtf/text/CString.h> -
trunk/Tools/ChangeLog
r135872 r135882 1 2012-11-27 Pratik Solanki <psolanki@apple.com> 2 3 objc/objc-runtime.h does not exist on all PLATFORM(MAC) 4 https://bugs.webkit.org/show_bug.cgi?id=101780 5 6 Reviewed by Brent Fulgham. 7 8 Clean up header includes so we don't include objc/objc-runtime.h. 9 10 * DumpRenderTree/mac/DumpRenderTree.mm: 11 * DumpRenderTree/mac/ObjCPlugin.m: 12 * TestWebKitAPI/mac/InstanceMethodSwizzler.h: 13 * WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm: 14 1 15 2012-11-27 Marja Hölttä <marja@chromium.org> 2 16 -
trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm
r134960 r135882 88 88 #import <WebKit/WebViewPrivate.h> 89 89 #import <getopt.h> 90 #import <objc/objc-runtime.h>91 90 #import <wtf/Assertions.h> 92 91 #import <wtf/FastMalloc.h> -
trunk/Tools/DumpRenderTree/mac/ObjCPlugin.m
r115358 r135882 29 29 30 30 #import <WebKit/WebKit.h> 31 #import <objc/ objc-runtime.h>31 #import <objc/runtime.h> 32 32 33 33 // === NSObject category to expose almost everything to JavaScript === -
trunk/Tools/TestWebKitAPI/mac/InstanceMethodSwizzler.h
r93417 r135882 27 27 #define InstanceMethodSwizzler_h 28 28 29 #include <objc/ objc-runtime.h>29 #include <objc/runtime.h> 30 30 #include <wtf/Noncopyable.h> 31 31 -
trunk/Tools/WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm
r132264 r135882 29 29 #import <AppKit/AppKit.h> 30 30 #import <CoreFoundation/CoreFoundation.h> 31 #import <objc/objc-runtime.h>32 31 #import <wtf/ObjcRuntimeExtras.h> 33 32 #import <wtf/RetainPtr.h>
Note:
See TracChangeset
for help on using the changeset viewer.