Chromium Code Reviews
DescriptionRemove explicit enum values in EPosition.
Currently, the enum values of EPosition are specified explicitly (namely
EPosition::FixedPosition is set to 6 instead of the default of 4). This
was used for bit masking in LayoutObject, but no longer. This patch
removes the explicit enum values since we no longer depend on them.
LayoutObject's dependence on explicit enum values was removed in:
https://codereview.chromium.org/2664713002.
Note that TextAutoSizer::computeFingerprint is indirectly affected by
this patch because it assumes that EPosition uses 3 bits. However,
EPosition still uses 3 bits after this patch, so no change is required
here.
This is prework for converting EPosition to an enum class and generating
it.
BUG=665272
Review-Url: https://codereview.chromium.org/2667533002
Cr-Commit-Position: refs/heads/master@{#448192}
Committed: https://chromium.googlesource.com/chromium/src/+/d7bb23484bdfdc5f4141b7bf9de7815e28d1f1b5
Patch Set 1 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 21 (11 generated)
|
|||||||||||||||||||