DescriptionRemove enum ordering dependency in StyleBuilderCustom.
StyleBuilderCustom makes an assumption that the values of EListStyleType
(which is generated) is ordered in a particular way. This might lead to
subtle breakages if the generated order changes. As part of removing
all ordering dependencies, this patch uses the generated CSSValueID to
platform enum mapping instead, which makes no assumptions about the
order of the enums.
BUG=665272
Review-Url: https://codereview.chromium.org/2694333003
Cr-Commit-Position: refs/heads/master@{#453937}
Committed: https://chromium.googlesource.com/chromium/src/+/7f0d7601fd45a6bea9b279bd43c984300b6ff683
Patch Set 1 #Patch Set 2 : Add comment #Patch Set 3 : Use generated #Patch Set 4 : Rebase #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 23 (15 generated)
|