DescriptionDevTools: Reduce color parsing by passing in Color to ColorSwatch
Often times we are doing double work parsing color text to handle invalid
colors and then parsing color text again in setColorText. We should just
parse once and pass in the Color object to ColorSwatch.
BUG=642782
Committed: https://crrev.com/3254b5dba1a5071e33db5955e131ec34ed65b864
Cr-Commit-Position: refs/heads/master@{#417488}
Patch Set 1 #
Total comments: 7
Patch Set 2 : Add semicolon and clean up AppManifestView #
Total comments: 6
Patch Set 3 : Get color from model #
Total comments: 1
Messages
Total messages: 21 (7 generated)
|