RESOLVED FIXED105678
Remove wtf/Platform.h includes from {c|cpp} files
https://bugs.webkit.org/show_bug.cgi?id=105678
Summary Remove wtf/Platform.h includes from {c|cpp} files
Laszlo Gombos
Reported 2012-12-22 11:19:21 PST
According to WebKit coding style - "All implementation files must #include "config.h" first. Header files should never include "config.h" As config.h (by design) includes wtf/Platform.h including wtf/Platform.h explicitly in {c|cpp} files is always a duplicate/unnecessary.
Attachments
proposed change (6.26 KB, patch)
2012-12-22 11:25 PST, Laszlo Gombos
haraken: review+
webkit.review.bot: commit-queue-
for cq (6.31 KB, patch)
2012-12-24 17:29 PST, Laszlo Gombos
no flags
Laszlo Gombos
Comment 1 2012-12-22 11:25:30 PST
Created attachment 180606 [details] proposed change If this patch lands, I plan to file a separate bug to add this rule to check-webkit-style.
Kentaro Hara
Comment 2 2012-12-24 16:42:40 PST
Comment on attachment 180606 [details] proposed change OK
WebKit Review Bot
Comment 3 2012-12-24 16:45:07 PST
Comment on attachment 180606 [details] proposed change Rejecting attachment 180606 [details] from commit-queue. Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', u'--status-host=queues.webkit.org', ..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue /mnt/git/webkit-commit-queue/Source/JavaScriptCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). Full output: http://queues.webkit.org/results/15503556
Kentaro Hara
Comment 4 2012-12-24 16:51:29 PST
Comment on attachment 180606 [details] proposed change View in context: https://bugs.webkit.org/attachment.cgi?id=180606&action=review > Source/JavaScriptCore/ChangeLog:5 > + You need to add a 'Reviewed by' line.
Laszlo Gombos
Comment 5 2012-12-24 17:29:54 PST
Created attachment 180694 [details] for cq > > Source/JavaScriptCore/ChangeLog:5 > > + > > You need to add a 'Reviewed by' line. Hoops. Done.
WebKit Review Bot
Comment 6 2012-12-24 18:18:19 PST
Comment on attachment 180694 [details] for cq Clearing flags on attachment: 180694 Committed r138449: <http://trac.webkit.org/changeset/138449>
WebKit Review Bot
Comment 7 2012-12-24 18:18:24 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.