DescriptionMove condition in CollapsedBorderValue::Width() into constructor
This avoids the condition from being repeatedly checked.
Also tweek other methods to avoid unnecessary checks. Add test.
BUG=717128
Review-Url: https://codereview.chromium.org/2858143003
Cr-Commit-Position: refs/heads/master@{#469562}
Committed: https://chromium.googlesource.com/chromium/src/+/bfbe9c7802a991ba8aac2664970947fd18e4748c
Patch Set 1 #
Total comments: 3
Patch Set 2 : - #Patch Set 3 : - #
Messages
Total messages: 12 (7 generated)
|