Summary: | Rationalize the use of iOS/Mac #defines in Assertions.cpp | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Benjamin Poulain <benjamin> | ||||||||
Component: | New Bugs | Assignee: | Benjamin Poulain <benjamin> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | aestes, ddkilzer, ojan.autocc, webkit.review.bot | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Benjamin Poulain
2013-02-04 15:23:26 PST
Created attachment 186478 [details]
Patch
Comment on attachment 186478 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=186478&action=review r=me with USE(APPLE_SYSTEM_LOG) and considering whether we want USE(CF) && !PLATFORM(WIN). > Source/WTF/wtf/Assertions.cpp:48 > -#if PLATFORM(MAC) > +#if USE(CF) I believe this will compile on Windows as well. Do we know if we want that? If not: #if USE(CF) && !PLATFORM(WIN) > Source/WTF/wtf/Assertions.cpp:51 > +#define USE_APPLE_SYSTEM_LOG We should use this so we can use USE(APPLE_SYSTEM_LOG) later in the file: #define USE_APPLE_SYSTEM_LOG 1 > Source/WTF/wtf/Assertions.cpp:83 > -#if PLATFORM(MAC) > +#if USE(CF) Ditto. > Source/WTF/wtf/Assertions.cpp:100 > +#if defined(USE_APPLE_SYSTEM_LOG) #if USE(APPLE_SYSTEM_LOG) > Source/WTF/wtf/Assertions.cpp:111 > +#if defined(USE_APPLE_SYSTEM_LOG) #if USE(APPLE_SYSTEM_LOG) Created attachment 186500 [details]
Patch
Comment on attachment 186500 [details] Patch Attachment 186500 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/16370493 Created attachment 186556 [details]
Same patch
Same patch for the Windows EWS. The bot looks drunk again given the previous results.
Comment on attachment 186556 [details] Same patch Clearing flags on attachment: 186556 Committed r141919: <http://trac.webkit.org/changeset/141919> All reviewed patches have been landed. Closing bug. |