Chromium Code Reviews
DescriptionRefactor LengthMode handling in SVGLengthContext
The switch that selects the correct "dimension" factor to scale with is
repeated three times. Refactor the code so that we get the factor from a
helper function instead.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189523
Patch Set 1 #Patch Set 2 : dimensionForLengthMode #Messages
Total messages: 10 (3 generated)
|