WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 31792
Include "config.h" to meet Coding Style Guidelines
https://bugs.webkit.org/show_bug.cgi?id=31792
Summary
Include "config.h" to meet Coding Style Guidelines
Laszlo Gombos
Reported
2009-11-22 18:41:37 PST
Found a few places where config.h is not included as it is described in the style guide -
http://webkit.org/coding/coding-style.html
. Note that there are a few places (e.g. API tests for WebKit public API, *AllInOne*.cpp etc) where config.h is obviously not needed. This patch does not add config.h to those files.
Attachments
proposed patch
(9.55 KB, patch)
2009-11-22 18:44 PST
,
Laszlo Gombos
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Laszlo Gombos
Comment 1
2009-11-22 18:44:34 PST
Created
attachment 43691
[details]
proposed patch
Alexey Proskuryakov
Comment 2
2009-11-22 23:46:24 PST
Comment on
attachment 43691
[details]
proposed patch That's a lot of files without config.h! I'm worried about changes to some Windows files - seems that definitions in WebKitDLL.h might be necessary to compile subsequent headers - e.g. WebScriptObject.h. Did you verify that the Windows port builds with these changes?
Laszlo Gombos
Comment 3
2009-11-23 14:26:05 PST
Alexey, thanks for looking into this. I just verified that the (Safari) Windows port builds with these changes. It looks to me that quite many .cpp files under WebKit/win have the same include order (e.g. WebSecurityOrigin.cpp).
Kenneth Rohde Christiansen
Comment 4
2009-11-23 14:32:46 PST
Then I'm all for this patch! Let's hope things go well, so please watch the bot after you commit.
Laszlo Gombos
Comment 5
2009-11-23 20:35:33 PST
Landed as
http://trac.webkit.org/changeset/51336
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug