DescriptionUse the return value to signal success for VTTParser helpers
Convert functions on the form:
ValueType f(..., bool& success);
to the form:
bool f(..., ValueType& value);
Since the latter form tend to integrate more naturally in a
success/failure parsing scheme.
Make sure that the output value is not touched unless parsing was
successful.
Perform some (minor) simplifications due to this change.
Also simplify the check for a trailing '%' in parseFloatPercentageValue.
BUG=305317
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163248
Patch Set 1 #Patch Set 2 : Dropped unused constant #
Total comments: 1
Patch Set 3 : Re-add ASSERT in markFutureAndPastNodes. #
Messages
Total messages: 9 (0 generated)
|