DescriptionCleanup: Remove dead code, use early returns to reduce indenting, shorten.
This makes one behavioral change: a mouse release with a successful HitTest and |canceled| true will set the state to HOT instead of NORMAL. This seemed more correct to me.
BUG=none
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=56766
Patch Set 1 #
Total comments: 2
Patch Set 2 : '' #
Messages
Total messages: 10 (0 generated)
|