Chromium Code Reviews
DescriptionEncapsulate the CSSPrimitiveValue UnitType trie bethind a method that takes a StringView.
This removes the need for callers to manually branch on is8Bit() and
also avoids having these separate functions in a header that's harder
to discover.
Now CSSPrimitiveValue has both unitTypeToString and stringToUnitType.
BUG=615174
Committed: https://crrev.com/b2174605d75d559c7b1f3e4f87b150bbd399cdba
Cr-Commit-Position: refs/heads/master@{#399090}
Patch Set 1 #
Messages
Total messages: 17 (8 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||