DescriptionInline SVGTextLayoutAttributes::emptyValue
This function just returns a simple float - inlining it allows the
compiler to generate more efficient code (and smaller - ~.5k) code
since the relatively high overhead call can be eliminated.
Take the opportunity to change the "empty value" into NaN (instead of
"max() - 1"), with corresponding semantic changes required by that.
BUG=486669
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195555
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|