DescriptionMade CSSPrimitiveValue::getString() only work for String types
Cleaned up CSSPrimitiveValue::getString() to only return the string
value if the unit type is a string (attribute, URL, String or custom
ident). Also cleaned up callsites and added asserts to better document
the expected behavior.
BUG=523893
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201459
Patch Set 1 #Patch Set 2 : Updated another callsite #Patch Set 3 : Small fix #
Total comments: 6
Patch Set 4 : Review feedback #
Total comments: 2
Patch Set 5 : Rebase and review feedback #
Dependent Patchsets: Messages
Total messages: 14 (4 generated)
|