Incl. custom properties in CSS property UseCounter
The CSS property UseCounter records which CSS properties are used on
each page. Custom CSS properties were not included. This patch adds a
call to the CSS property UseCounter::count method to the parsing code
for custom properties.
Note that
- all custom CSS properties are grouped together with the ID
CSSPropertyVariable, and
- the BitVector used by the UseCounter is already large enough to
include this data; the DCHECK in the count method just needs to be
extended to allow the CSSPropertyVariable ID value.
BUG=458925
Review-Url: https://codereview.chromium.org/2702183002
Cr-Commit-Position: refs/heads/master@{#456000}
3 files changed