DescriptionIncl. 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}
Committed: https://chromium.googlesource.com/chromium/src/+/ca5b55100d024fb5b6ed95e9ad3fcb1d1ae24462
Patch Set 1 #Patch Set 2 : Update test expectations after rebase #
Depends on Patchset: Messages
Total messages: 16 (9 generated)
|