WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
60388
Fix some unnecessary includes in headers
https://bugs.webkit.org/show_bug.cgi?id=60388
Summary
Fix some unnecessary includes in headers
Tony Gentilcore
Reported
Friday, May 6, 2011 7:14:05 PM UTC
Fix some unnecessary includes in headers
Attachments
Patch
(28.16 KB, patch)
2011-05-06 11:16 PDT
,
Tony Gentilcore
no flags
Details
Formatted Diff
Diff
Patch
(29.04 KB, patch)
2011-05-09 01:27 PDT
,
Tony Gentilcore
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
Patch
(29.52 KB, patch)
2011-05-09 01:56 PDT
,
Tony Gentilcore
no flags
Details
Formatted Diff
Diff
Patch
(30.39 KB, patch)
2011-05-09 02:49 PDT
,
Tony Gentilcore
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
Patch
(31.90 KB, patch)
2011-05-09 04:13 PDT
,
Tony Gentilcore
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
Patch
(33.98 KB, patch)
2011-05-09 05:42 PDT
,
Tony Gentilcore
darin
: review+
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Tony Gentilcore
Comment 1
Friday, May 6, 2011 7:16:03 PM UTC
Created
attachment 92611
[details]
Patch
WebKit Review Bot
Comment 2
Friday, May 6, 2011 7:19:24 PM UTC
Attachment 92611
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/dom/TextEvent.h:35: Code inside a namespace should not be indented. [whitespace/indent] [4] Source/WebCore/css/RGBColor.h:35: Code inside a namespace should not be indented. [whitespace/indent] [4] Source/WebCore/dom/ExceptionBase.h:37: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 3 in 49 files If any of these errors are false positives, please file a bug against check-webkit-style.
Early Warning System Bot
Comment 3
Friday, May 6, 2011 7:29:45 PM UTC
Comment on
attachment 92611
[details]
Patch
Attachment 92611
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/8601058
Gyuyoung Kim
Comment 4
Friday, May 6, 2011 8:41:27 PM UTC
Comment on
attachment 92611
[details]
Patch
Attachment 92611
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/8615056
WebKit Review Bot
Comment 5
Friday, May 6, 2011 8:48:16 PM UTC
Comment on
attachment 92611
[details]
Patch
Attachment 92611
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/8598065
WebKit Review Bot
Comment 6
Friday, May 6, 2011 9:33:41 PM UTC
Comment on
attachment 92611
[details]
Patch
Attachment 92611
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/8617046
WebKit Review Bot
Comment 7
Friday, May 6, 2011 9:40:48 PM UTC
Comment on
attachment 92611
[details]
Patch
Attachment 92611
[details]
did not pass cr-mac-ews (chromium): Output:
http://queues.webkit.org/results/8620016
Collabora GTK+ EWS bot
Comment 8
Friday, May 6, 2011 10:10:09 PM UTC
Comment on
attachment 92611
[details]
Patch
Attachment 92611
[details]
did not pass gtk-ews (gtk): Output:
http://queues.webkit.org/results/8620025
WebKit Review Bot
Comment 9
Friday, May 6, 2011 10:32:43 PM UTC
Comment on
attachment 92611
[details]
Patch
Attachment 92611
[details]
did not pass cr-mac-ews (chromium): Output:
http://queues.webkit.org/results/8598097
Daniel Bates
Comment 10
Saturday, May 7, 2011 12:16:21 AM UTC
Comment on
attachment 92611
[details]
Patch
Attachment 92611
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/8608143
Tony Gentilcore
Comment 11
Saturday, May 7, 2011 12:06:20 PM UTC
Different flags and ports end up having different transitive deps that break. I'll work on making the bots happy. Please ignore this until then.
Tony Gentilcore
Comment 12
Monday, May 9, 2011 9:27:30 AM UTC
Created
attachment 92770
[details]
Patch
WebKit Review Bot
Comment 13
Monday, May 9, 2011 9:30:03 AM UTC
Attachment 92770
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/dom/TextEvent.h:35: Code inside a namespace should not be indented. [whitespace/indent] [4] Source/WebCore/css/RGBColor.h:35: Code inside a namespace should not be indented. [whitespace/indent] [4] Source/WebCore/dom/ExceptionBase.h:37: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 3 in 51 files If any of these errors are false positives, please file a bug against check-webkit-style.
Early Warning System Bot
Comment 14
Monday, May 9, 2011 9:41:17 AM UTC
Comment on
attachment 92770
[details]
Patch
Attachment 92770
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/8653516
Tony Gentilcore
Comment 15
Monday, May 9, 2011 9:56:25 AM UTC
Created
attachment 92771
[details]
Patch
WebKit Review Bot
Comment 16
Monday, May 9, 2011 10:01:22 AM UTC
Attachment 92771
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/dom/TextEvent.h:35: Code inside a namespace should not be indented. [whitespace/indent] [4] Source/WebCore/css/RGBColor.h:35: Code inside a namespace should not be indented. [whitespace/indent] [4] Source/WebCore/dom/ExceptionBase.h:37: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 3 in 52 files If any of these errors are false positives, please file a bug against check-webkit-style.
Early Warning System Bot
Comment 17
Monday, May 9, 2011 10:13:43 AM UTC
Comment on
attachment 92771
[details]
Patch
Attachment 92771
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/8660480
WebKit Review Bot
Comment 18
Monday, May 9, 2011 10:31:39 AM UTC
Comment on
attachment 92771
[details]
Patch
Attachment 92771
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/8653523
Tony Gentilcore
Comment 19
Monday, May 9, 2011 10:49:17 AM UTC
Created
attachment 92775
[details]
Patch
WebKit Review Bot
Comment 20
Monday, May 9, 2011 10:51:48 AM UTC
Attachment 92775
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/dom/TextEvent.h:35: Code inside a namespace should not be indented. [whitespace/indent] [4] Source/WebCore/css/RGBColor.h:35: Code inside a namespace should not be indented. [whitespace/indent] [4] Source/WebCore/dom/ExceptionBase.h:37: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 3 in 54 files If any of these errors are false positives, please file a bug against check-webkit-style.
Early Warning System Bot
Comment 21
Monday, May 9, 2011 11:07:13 AM UTC
Comment on
attachment 92775
[details]
Patch
Attachment 92775
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/8646533
WebKit Review Bot
Comment 22
Monday, May 9, 2011 11:29:16 AM UTC
Comment on
attachment 92775
[details]
Patch
Attachment 92775
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/8653538
WebKit Review Bot
Comment 23
Monday, May 9, 2011 11:31:20 AM UTC
Comment on
attachment 92770
[details]
Patch
Attachment 92770
[details]
did not pass cr-mac-ews (chromium): Output:
http://queues.webkit.org/results/8652504
Tony Gentilcore
Comment 24
Monday, May 9, 2011 12:13:11 PM UTC
Created
attachment 92778
[details]
Patch
WebKit Review Bot
Comment 25
Monday, May 9, 2011 12:15:31 PM UTC
Attachment 92778
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/dom/TextEvent.h:35: Code inside a namespace should not be indented. [whitespace/indent] [4] Source/WebCore/css/RGBColor.h:35: Code inside a namespace should not be indented. [whitespace/indent] [4] Source/WebCore/dom/ExceptionBase.h:37: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 3 in 57 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Review Bot
Comment 26
Monday, May 9, 2011 12:54:52 PM UTC
Comment on
attachment 92778
[details]
Patch
Attachment 92778
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/8646550
WebKit Review Bot
Comment 27
Monday, May 9, 2011 1:18:40 PM UTC
Comment on
attachment 92775
[details]
Patch
Attachment 92775
[details]
did not pass cr-mac-ews (chromium): Output:
http://queues.webkit.org/results/8652523
Tony Gentilcore
Comment 28
Monday, May 9, 2011 1:42:26 PM UTC
Created
attachment 92782
[details]
Patch
WebKit Review Bot
Comment 29
Monday, May 9, 2011 1:44:58 PM UTC
Attachment 92782
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/dom/TextEvent.h:35: Code inside a namespace should not be indented. [whitespace/indent] [4] Source/WebCore/css/RGBColor.h:35: Code inside a namespace should not be indented. [whitespace/indent] [4] Source/WebCore/dom/ExceptionBase.h:37: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 3 in 61 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Review Bot
Comment 30
Monday, May 9, 2011 2:37:14 PM UTC
Comment on
attachment 92778
[details]
Patch
Attachment 92778
[details]
did not pass cr-mac-ews (chromium): Output:
http://queues.webkit.org/results/8648515
Darin Adler
Comment 31
Monday, May 9, 2011 5:19:09 PM UTC
Comment on
attachment 92782
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=92782&action=review
Looks good. Hard to judge a patch like this except by whether everything keeps compiling!
> Source/WebCore/css/CSSFontFaceSrcValue.h:37 > #if ENABLE(SVG_FONTS) > -#include "SVGFontFaceElement.h" > +class SVGFontFaceElement; > #endif
For the future, I’m not sure we need to put a forward-declaration of a class inside an #if. There is little or no harm to just declaring the name of a class unconditionally.
Tony Gentilcore
Comment 32
Monday, May 9, 2011 5:26:34 PM UTC
(In reply to
comment #31
)
> (From update of
attachment 92782
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=92782&action=review
> > Looks good. Hard to judge a patch like this except by whether everything keeps compiling! > > > Source/WebCore/css/CSSFontFaceSrcValue.h:37 > > #if ENABLE(SVG_FONTS) > > -#include "SVGFontFaceElement.h" > > +class SVGFontFaceElement; > > #endif > > For the future, I’m not sure we need to put a forward-declaration of a class inside an #if. There is little or no harm to just declaring the name of a class unconditionally.
Thanks, I'll fix this and then land the patch in off-hours so I can fix any breakages for builds that don't have an EWS without bothering anyone.
Tony Gentilcore
Comment 33
Tuesday, May 10, 2011 9:20:12 AM UTC
Committed
r86135
: <
http://trac.webkit.org/changeset/86135
>
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