DescriptionAdded CSSPropertyCounterUtils which holds shared counter parsing logic.
This patch:
- Added CSSPropertyCounterUtils
- Moved consumeCounter method from CSSPropertyParser to
CSSPropertyCounterUtils
- Replaced the use of raw int in argument to consumeCounter with more
readable named enum values
This is pre work to move parseSingleValue logic from CSSPropertyParser
to the property APIs for CounterIncrement and CounterReset properties.
BUG=668012
Review-Url: https://codereview.chromium.org/2772263004
Cr-Commit-Position: refs/heads/master@{#460019}
Committed: https://chromium.googlesource.com/chromium/src/+/45a8388f50dc32a97316656fe3170329fe5e1c6a
Patch Set 1 #
Total comments: 1
Patch Set 2 : addressed reviewer comment #
Total comments: 3
Patch Set 3 : addressed reviewer comment #
Dependent Patchsets: Messages
Total messages: 25 (14 generated)
|