WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
81890
Merge SVGImageBufferTools to SVGRenderingContext
https://bugs.webkit.org/show_bug.cgi?id=81890
Summary
Merge SVGImageBufferTools to SVGRenderingContext
Zoltan Herczeg
Reported
2012-03-22 04:17:42 PDT
Copy the methods, no functionality change.
Attachments
patch
(44.81 KB, patch)
2012-03-22 04:28 PDT
,
Zoltan Herczeg
zimmermann
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Zoltan Herczeg
Comment 1
2012-03-22 04:28:14 PDT
Created
attachment 133221
[details]
patch
Nikolas Zimmermann
Comment 2
2012-03-22 05:22:54 PDT
Comment on
attachment 133221
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=133221&action=review
Looks great, r=me, in case cr-linux ews bot is also happy with it.
> Source/WebCore/ChangeLog:11 > + no functionality change. > +
You should note here, that this is the first step, towards making SVGImageBufferTools stageful, and this only moves the code.
Zoltan Herczeg
Comment 3
2012-03-22 05:52:58 PDT
Thanks for the review. Landed as
http://trac.webkit.org/changeset/111674
Dirk Schulze
Comment 4
2012-03-22 11:02:15 PDT
I'm not opposed to the change, but what is the reason for moving it?
Nikolas Zimmermann
Comment 5
2012-03-23 01:50:54 PDT
(In reply to
comment #4
)
> I'm not opposed to the change, but what is the reason for moving it?
Sorry for not including more context here, I discuss this since a while with Zoltan. The goal is to change the current state-less design of SVGImageBufferTools/SVGRenderingSupport. As first step Zoltan extracted the prepareRenderSVGContent/finishREnderSVGContent from SVGRenderSupport into SVGRenderingContext, making it state-full (not a bunch of static functions, but a real class holding data). This simplifies the SVG subtree rendering code a lot. SVGImageBufferTools suffers from the same problem. The intent is to merge it into SVGRenderingContext and make it state-full as well, removing the hacks currently needed for "currentContentTransformation" and fixing up the design in general.
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