DescriptionPrevent reading stale/invalid data when applying a <pattern>
RenderSVGResourcePattern::applyResource was checking the value of
PatternAttributes::patternUnits() before it had been set from the element,
meaning it could have been stale after having been updated, or plain wrong
since the default value is oBB.
Hoist the PatternAttribute setup out of buildPattern() to make sure
|m_attributes| is valid when read.
The |resourceMode| attribute passed to buildPattern() is removed because
it is unused.
BUG=415619
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182268
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|