DescriptionMake explicit constant for num of CSSPropertyIDs
A handful of locations in the code refer to "lastUnresolvedCSSProperty +
1" as a way of ensuring that a BitVector is big enough to hold all
values for CSSPropertyID. To make the code easier to read, and to
centralize the responsibility for getting the "+ 1" correct, this patch
introduces an explicit numCSSPropertyIDs constant to contain this value.
BUG=458925
Review-Url: https://codereview.chromium.org/2701353002
Cr-Commit-Position: refs/heads/master@{#454811}
Committed: https://chromium.googlesource.com/chromium/src/+/a6b223a87ecb54cdea51f967f273419f282ee9eb
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 17 (10 generated)
|