WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
122101
Generate toCSSFooValue for CSSPrimitiveValue
https://bugs.webkit.org/show_bug.cgi?id=122101
Summary
Generate toCSSFooValue for CSSPrimitiveValue
Gyuyoung Kim
Reported
2013-09-30 05:06:07 PDT
As a step of cleanup static_cast<> in CSSValues, this patch generates toCSSFooPrimitiveValue() in order to detect bad casts as well as improves code readability.
Attachments
Patch
(85.38 KB, patch)
2013-09-30 05:12 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Patch
(86.12 KB, patch)
2013-09-30 20:36 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Patch
(85.89 KB, patch)
2013-09-30 21:05 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Patch for landing
(85.83 KB, patch)
2013-10-01 03:03 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Gyuyoung Kim
Comment 1
2013-09-30 05:12:24 PDT
Created
attachment 212982
[details]
Patch
WebKit Commit Bot
Comment 2
2013-09-30 05:15:35 PDT
Attachment 212982
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/css/CSSFontSelector.cpp', u'Source/WebCore/css/CSSImageGeneratorValue.cpp', u'Source/WebCore/css/CSSImageSetValue.cpp', u'Source/WebCore/css/CSSParser.cpp', u'Source/WebCore/css/CSSPrimitiveValue.h', u'Source/WebCore/css/CSSToStyleMap.cpp', u'Source/WebCore/css/CSSValue.cpp', u'Source/WebCore/css/DeprecatedStyleBuilder.cpp', u'Source/WebCore/css/MediaList.cpp', u'Source/WebCore/css/MediaQueryEvaluator.cpp', u'Source/WebCore/css/SVGCSSStyleSelector.cpp', u'Source/WebCore/css/StylePropertySet.cpp', u'Source/WebCore/css/StyleResolver.cpp', u'Source/WebCore/css/TransformFunctions.cpp', u'Source/WebCore/css/ViewportStyleResolver.cpp', u'Source/WebCore/css/WebKitCSSMatrix.cpp', u'Source/WebCore/editing/ApplyStyleCommand.cpp', u'Source/WebCore/editing/EditingStyle.cpp', u'Source/WebCore/editing/markup.cpp']" exit_code: 1 Source/WebCore/css/TransformFunctions.cpp:285: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3] Total errors found: 1 in 20 files If any of these errors are false positives, please file a bug against check-webkit-style.
Gyuyoung Kim
Comment 3
2013-09-30 20:36:49 PDT
Created
attachment 213049
[details]
Patch
WebKit Commit Bot
Comment 4
2013-09-30 20:37:55 PDT
Attachment 213049
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/css/CSSFontSelector.cpp', u'Source/WebCore/css/CSSGradientValue.cpp', u'Source/WebCore/css/CSSImageGeneratorValue.cpp', u'Source/WebCore/css/CSSImageSetValue.cpp', u'Source/WebCore/css/CSSParser.cpp', u'Source/WebCore/css/CSSPrimitiveValue.h', u'Source/WebCore/css/CSSToStyleMap.cpp', u'Source/WebCore/css/CSSValue.cpp', u'Source/WebCore/css/DeprecatedStyleBuilder.cpp', u'Source/WebCore/css/MediaList.cpp', u'Source/WebCore/css/MediaQueryEvaluator.cpp', u'Source/WebCore/css/SVGCSSStyleSelector.cpp', u'Source/WebCore/css/StylePropertySet.cpp', u'Source/WebCore/css/StyleResolver.cpp', u'Source/WebCore/css/TransformFunctions.cpp', u'Source/WebCore/css/ViewportStyleResolver.cpp', u'Source/WebCore/css/WebKitCSSMatrix.cpp', u'Source/WebCore/editing/ApplyStyleCommand.cpp', u'Source/WebCore/editing/EditingStyle.cpp', u'Source/WebCore/editing/markup.cpp']" exit_code: 1 Source/WebCore/css/TransformFunctions.cpp:285: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3] Total errors found: 1 in 21 files If any of these errors are false positives, please file a bug against check-webkit-style.
Gyuyoung Kim
Comment 5
2013-09-30 21:05:00 PDT
Created
attachment 213051
[details]
Patch
Gyuyoung Kim
Comment 6
2013-10-01 03:03:19 PDT
Created
attachment 213069
[details]
Patch for landing
WebKit Commit Bot
Comment 7
2013-10-01 03:49:31 PDT
Comment on
attachment 213069
[details]
Patch for landing Clearing flags on attachment: 213069 Committed
r156705
: <
http://trac.webkit.org/changeset/156705
>
WebKit Commit Bot
Comment 8
2013-10-01 03:49:34 PDT
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.
Top of Page
Format For Printing
XML
Clone This Bug