Chromium Code Reviews
DescriptionClarify how LayoutSVGResourceMarker's m_viewport interacts with refX/refY
Because refX and refY are in the coordinate space of each marker instance,
they are included in markerTransformation() instead of being part of the
marker viewport. As a result, only a viewport size is maintained in
LayoutSVGResourceMarker. This patch makes this distinction a little
clearer by refactoring m_viewport to m_viewportSize, as well as adding
some comments.
No new tests; no change in behavior.
Committed: https://crrev.com/db41bb454ddbdd14f8187e50638b64d290d64ccd
Cr-Commit-Position: refs/heads/master@{#437803}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 14 (9 generated)
|
||||||||||||||||||||||||||||