Changeset 164270 in webkit
- Timestamp:
- Feb 17, 2014 8:59:47 PM (10 years ago)
- Location:
- trunk/Tools
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r164269 r164270 1 2014-02-17 Dan Bernstein <mitz@apple.com> 2 3 Stop using PLATFORM(MAC) in DumpRenderTree except where it means “OS X but not iOS” 4 https://bugs.webkit.org/show_bug.cgi?id=128950 5 6 Reviewed by Anders Carlsson. 7 8 Changed all PLATFORM(MAC) instances that were not excluding iOS to PLATFORM(COCOA). 9 10 * DumpRenderTree/AccessibilityController.h: 11 * DumpRenderTree/AccessibilityTextMarker.h: 12 * DumpRenderTree/AccessibilityUIElement.cpp: 13 * DumpRenderTree/AccessibilityUIElement.h: 14 * DumpRenderTree/DumpRenderTree.h: 15 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: 16 (computeMD5HashStringForBitmapContext): 17 * DumpRenderTree/cg/PixelDumpSupportCG.h: 18 (BitmapContext::~BitmapContext): 19 * DumpRenderTree/config.h: 20 1 21 2014-02-17 Filip Pizlo <fpizlo@apple.com> 2 22 -
trunk/Tools/DumpRenderTree/AccessibilityController.h
r162222 r164270 90 90 #endif 91 91 92 #if PLATFORM( MAC)92 #if PLATFORM(COCOA) 93 93 RetainPtr<NotificationHandler> m_globalNotificationHandler; 94 94 #endif -
trunk/Tools/DumpRenderTree/AccessibilityTextMarker.h
r162817 r164270 35 35 #endif 36 36 37 #if PLATFORM( MAC)37 #if PLATFORM(COCOA) 38 38 #include <wtf/RetainPtr.h> 39 39 typedef CFTypeRef PlatformTextMarker; -
trunk/Tools/DumpRenderTree/AccessibilityUIElement.cpp
r164165 r164270 1304 1304 #endif 1305 1305 1306 #if !PLATFORM( MAC)1306 #if !PLATFORM(COCOA) 1307 1307 void AccessibilityUIElement::uiElementArrayAttributeValue(JSStringRef, Vector<AccessibilityUIElement>&) const { } 1308 1308 void AccessibilityUIElement::columnHeaders(Vector<AccessibilityUIElement>&) const { } -
trunk/Tools/DumpRenderTree/AccessibilityUIElement.h
r164165 r164270 32 32 #include <wtf/Vector.h> 33 33 34 #if PLATFORM( MAC)34 #if PLATFORM(COCOA) 35 35 #ifdef __OBJC__ 36 36 typedef id PlatformUIElement; … … 54 54 #endif 55 55 56 #if PLATFORM( MAC)56 #if PLATFORM(COCOA) 57 57 #ifdef __OBJC__ 58 58 typedef id NotificationHandler; -
trunk/Tools/DumpRenderTree/DumpRenderTree.h
r161699 r164270 35 35 #endif 36 36 37 #if PLATFORM( MAC)37 #if PLATFORM(COCOA) 38 38 #include "DumpRenderTreeMac.h" 39 39 #elif PLATFORM(WIN) -
trunk/Tools/DumpRenderTree/cg/PixelDumpSupportCG.cpp
r162817 r164270 86 86 MD5_Init(&md5Context); 87 87 unsigned char* bitmapData = static_cast<unsigned char*>(CGBitmapContextGetData(bitmapContext)); 88 #if PLATFORM( MAC)88 #if PLATFORM(COCOA) 89 89 if ((CGBitmapContextGetBitmapInfo(bitmapContext) & kCGBitmapByteOrderMask) == kCGBitmapByteOrder32Big) { 90 90 for (unsigned row = 0; row < pixelsHigh; row++) { -
trunk/Tools/DumpRenderTree/cg/PixelDumpSupportCG.h
r149716 r164270 42 42 typedef struct CGContext* CGContextRef; 43 43 44 #if PLATFORM( MAC)44 #if PLATFORM(COCOA) 45 45 typedef void* PlatformBitmapBuffer; 46 46 #elif PLATFORM(WIN) … … 58 58 { 59 59 if (m_buffer) 60 #if PLATFORM( MAC)60 #if PLATFORM(COCOA) 61 61 free(m_buffer); 62 62 #elif PLATFORM(WIN) -
trunk/Tools/DumpRenderTree/config.h
r163776 r164270 39 39 #endif 40 40 41 #if PLATFORM( MAC)41 #if PLATFORM(COCOA) 42 42 #define WTF_USE_CF 1 43 #endif // PLATFORM(MAC)43 #endif 44 44 45 45 #if PLATFORM(WIN)
Note: See TracChangeset
for help on using the changeset viewer.