WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
92927
Switch mapLocalToContainer to use a flag instead of boolean parameters
https://bugs.webkit.org/show_bug.cgi?id=92927
Summary
Switch mapLocalToContainer to use a flag instead of boolean parameters
Levi Weintraub
Reported
2012-08-01 17:49:53 PDT
I intend on adding another mode of operation for bug switching between pixel snapping which will further complicate the current contract.
Attachments
Patch
(31.12 KB, patch)
2012-08-02 10:12 PDT
,
Levi Weintraub
no flags
Details
Formatted Diff
Diff
Patch
(33.09 KB, patch)
2012-08-02 14:06 PDT
,
Levi Weintraub
no flags
Details
Formatted Diff
Diff
Patch for landing
(32.97 KB, patch)
2012-08-03 10:27 PDT
,
Levi Weintraub
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Levi Weintraub
Comment 1
2012-08-02 10:12:17 PDT
Created
attachment 156114
[details]
Patch
Build Bot
Comment 2
2012-08-02 10:34:07 PDT
Comment on
attachment 156114
[details]
Patch
Attachment 156114
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/13425302
Dirk Schulze
Comment 3
2012-08-02 10:41:07 PDT
Comment on
attachment 156114
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=156114&action=review
> Source/WebCore/rendering/svg/RenderSVGForeignObject.cpp:193 > +void RenderSVGForeignObject::mapLocalToContainer(RenderBoxModelObject* repaintContainer, TransformState& transformState, MapLocalToContainerFlags mode, bool* wasFixed) const
You need to comment it out, or flag it unused.
> Source/WebCore/rendering/svg/RenderSVGInline.cpp:82 > +void RenderSVGInline::mapLocalToContainer(RenderBoxModelObject* repaintContainer, TransformState& transformState, MapLocalToContainerFlags mode, bool* wasFixed) const
Ditto.
> Source/WebCore/rendering/svg/RenderSVGModelObject.cpp:58 > +void RenderSVGModelObject::mapLocalToContainer(RenderBoxModelObject* repaintContainer, TransformState& transformState, MapLocalToContainerFlags mode, bool* wasFixed) const
Ditto.
Levi Weintraub
Comment 4
2012-08-02 11:26:48 PDT
(In reply to
comment #3
)
> (From update of
attachment 156114
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=156114&action=review
> > > Source/WebCore/rendering/svg/RenderSVGForeignObject.cpp:193 > > +void RenderSVGForeignObject::mapLocalToContainer(RenderBoxModelObject* repaintContainer, TransformState& transformState, MapLocalToContainerFlags mode, bool* wasFixed) const > > You need to comment it out, or flag it unused. > > > Source/WebCore/rendering/svg/RenderSVGInline.cpp:82 > > +void RenderSVGInline::mapLocalToContainer(RenderBoxModelObject* repaintContainer, TransformState& transformState, MapLocalToContainerFlags mode, bool* wasFixed) const > > Ditto. > > > Source/WebCore/rendering/svg/RenderSVGModelObject.cpp:58 > > +void RenderSVGModelObject::mapLocalToContainer(RenderBoxModelObject* repaintContainer, TransformState& transformState, MapLocalToContainerFlags mode, bool* wasFixed) const > > Ditto.
Of course, thank you :)
Levi Weintraub
Comment 5
2012-08-02 14:06:15 PDT
Created
attachment 156161
[details]
Patch
Dirk Schulze
Comment 6
2012-08-02 20:21:52 PDT
Comment on
attachment 156161
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=156161&action=review
LGTM. Just some snippets, r=me.
> Source/WebCore/rendering/svg/RenderSVGForeignObject.cpp:195 > +void RenderSVGForeignObject::mapLocalToContainer(RenderBoxModelObject* repaintContainer, TransformState& transformState, MapLocalToContainerFlags mode, bool* wasFixed) const > { > + UNUSED_PARAM(mode);
Sorry for not mention it before. But isn't it easier to just not use 'mode'? I think MapLocalToContainerFlags is self descriptive.
> Source/WebCore/rendering/svg/RenderSVGInline.cpp:84 > + UNUSED_PARAM(mode);
Ditto.
> Source/WebCore/rendering/svg/RenderSVGModelObject.cpp:60 > + UNUSED_PARAM(mode);
Ditto.
> Source/WebCore/rendering/svg/RenderSVGText.cpp:116 > + UNUSED_PARAM(mode);
Ditto.
Levi Weintraub
Comment 7
2012-08-03 10:27:08 PDT
Created
attachment 156410
[details]
Patch for landing
WebKit Review Bot
Comment 8
2012-08-03 15:23:58 PDT
Comment on
attachment 156410
[details]
Patch for landing Clearing flags on attachment: 156410 Committed
r124662
: <
http://trac.webkit.org/changeset/124662
>
WebKit Review Bot
Comment 9
2012-08-03 15:24:02 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