Chromium Code Reviews
DescriptionCleanup CSSGradientValue
1) move member fields to subclasses, to ensure they're only used/stored
by gradient types which need them
2) remove setters; instead of manipulating fields after instantiation,
pass all needed params to the ctor
3) refactor the CSS parsing methods for #2: defer gradient value
instantiation until all needed params are parsed
4) constify member value pointers
Refactor only, no functional changes.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
BUG=614368
Review-Url: https://codereview.chromium.org/2817523002
Cr-Commit-Position: refs/heads/master@{#464034}
Committed: https://chromium.googlesource.com/chromium/src/+/55633a0e8db901aa6ce0990c99352b5d77087d06
Patch Set 1 #Patch Set 2 : moar cleanup #
Total comments: 3
Patch Set 3 : some more comments #
Messages
Total messages: 20 (14 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||