| Summary: | Stop using PLATFORM(MAC) in WebKit2/platform except where it means “OS X but not iOS” | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | mitz | ||||
| Component: | WebKit2 | Assignee: | mitz | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | andersca, darin | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
mitz
2014-02-09 20:34:20 PST
Created attachment 223670 [details]
Change PLATFORM(MAC), do some moves and renames
Comment on attachment 223670 [details] Change PLATFORM(MAC), do some moves and renames View in context: https://bugs.webkit.org/attachment.cgi?id=223670&action=review > Source/WebKit2/ChangeLog:3 > + Stop using PLATFORM(MAC) in WebKit2/platform except where it means âOS X but not iOSâ I assume your smart quotes were just munged by the review tool. > Source/WebKit2/Platform/cf/ModuleCF.cpp:27 > +#import "config.h" > +#import "Module.h" Did you mean #include? > Source/WebKit2/Platform/cf/ModuleCF.cpp:27 > -#import "config.h" > -#import "Module.h" > +#include "config.h" > +#include "Module.h" I'm confused by this patch. It seems ModuleCF.cpp has two separate patch entries! (In reply to comment #2) > (From update of attachment 223670 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=223670&action=review > > > Source/WebKit2/ChangeLog:3 > > + Stop using PLATFORM(MAC) in WebKit2/platform except where it means âOS X but not iOSâ > > I assume your smart quotes were just munged by the review tool. See bug 75394. > > > Source/WebKit2/Platform/cf/ModuleCF.cpp:27 > > +#import "config.h" > > +#import "Module.h" > > Did you mean #include? > > > Source/WebKit2/Platform/cf/ModuleCF.cpp:27 > > -#import "config.h" > > -#import "Module.h" > > +#include "config.h" > > +#include "Module.h" > > I'm confused by this patch. It seems ModuleCF.cpp has two separate patch entries! This is how svn-create-patch represents a rename and an edit in the renamed file. Comment on attachment 223670 [details] Change PLATFORM(MAC), do some moves and renames View in context: https://bugs.webkit.org/attachment.cgi?id=223670&action=review > Source/WebKit2/Platform/Logging.cpp:70 > -#if !PLATFORM(MAC) && !PLATFORM(GTK) && !PLATFORM(EFL) > +#if !USE(FOUNDATION) && !PLATFORM(GTK) && !PLATFORM(EFL) > String logLevelString() How about we just get rid of this logLevelString() since nobody includes it anyway. Committed <http://trac.webkit.org/r163862>. |