DescriptionMove transient/temporary RenderSVGResource state out of SVGInlineTextBox
The SVGInlineTextBox member variable |m_paintingResource| is only set
temporarily within paintTextWithShadows and paintDecorationWithStyle, and
is only accessed from the methods that do setup and teardown of it. This
makes it possible to remove it from SVGInlineTextBox and instead manage it
in through a variable on the stack.
The lifetime management is kept manual/the same as previously. The
interaction with TextRun::RenderingContext is changed to be passed as a
parameter to the added "scope" object in order to simplify the interface
a bit.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181904
Patch Set 1 #
Total comments: 1
Messages
Total messages: 7 (2 generated)
|