WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
114874
Refactor transform code in StyleResolver
https://bugs.webkit.org/show_bug.cgi?id=114874
Summary
Refactor transform code in StyleResolver
Dirk Schulze
Reported
2013-04-19 07:09:52 PDT
Refactor transform code in StyleResolver. It should be in it's own file.
Attachments
Patch
(52.23 KB, patch)
2013-04-19 07:15 PDT
,
Dirk Schulze
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dirk Schulze
Comment 1
2013-04-19 07:15:36 PDT
Created
attachment 198853
[details]
Patch
WebKit Commit Bot
Comment 2
2013-04-19 07:18:46 PDT
Attachment 198853
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/CMakeLists.txt', u'Source/WebCore/ChangeLog', u'Source/WebCore/GNUmakefile.list.am', u'Source/WebCore/Target.pri', u'Source/WebCore/WebCore.vcproj/WebCore.vcproj', u'Source/WebCore/WebCore.vcxproj/WebCore.vcxproj', u'Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters', u'Source/WebCore/WebCore.xcodeproj/project.pbxproj', u'Source/WebCore/css/StyleResolver.cpp', u'Source/WebCore/css/StyleResolver.h', u'Source/WebCore/css/TransformFunctions.cpp', u'Source/WebCore/css/TransformFunctions.h', u'Source/WebCore/css/WebKitCSSMatrix.cpp']" exit_code: 1 Source/WebCore/css/TransformFunctions.cpp:285: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3] Source/WebCore/css/TransformFunctions.cpp:296: static_cast is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] Source/WebCore/css/TransformFunctions.cpp:297: static_cast is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] Total errors found: 3 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Andreas Kling
Comment 3
2013-04-19 08:17:20 PDT
Comment on
attachment 198853
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=198853&action=review
r=me
> Source/WebCore/css/TransformFunctions.h:41 > +bool transformsForValue(const RenderStyle*, const RenderStyle* rootStyle, CSSValue*, TransformOperations&);
Can we make the CSSValue* argument const here?
Dirk Schulze
Comment 4
2013-04-19 08:30:51 PDT
(In reply to
comment #3
)
> (From update of
attachment 198853
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=198853&action=review
> > r=me > > > Source/WebCore/css/TransformFunctions.h:41 > > +bool transformsForValue(const RenderStyle*, const RenderStyle* rootStyle, CSSValue*, TransformOperations&); > > Can we make the CSSValue* argument const here?
I tried to, that is why I pinged you about the CSSValueListIterator. It will be possible soon.
WebKit Commit Bot
Comment 5
2013-04-19 10:16:27 PDT
Comment on
attachment 198853
[details]
Patch Clearing flags on attachment: 198853 Committed
r148753
: <
http://trac.webkit.org/changeset/148753
>
WebKit Commit Bot
Comment 6
2013-04-19 10:16:30 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