Chromium Code Reviews
DescriptionGet rid of VisibleSelection::expandUsingGranularity()
This patch gets rid of |VisibleSelection::expandUsingGranularity()| by using
|createVisibleSelection()| as a preparation of making |VisibleSelection|
immutable for improving code health.
This patch also change |VisibleSelection| constructor to call |validate()| with
passed granularity rather than passing character granularity.
BUG=660320
TEST=n/a; no behavior changes
Committed: https://crrev.com/4af4fd436f8224291702adcd453c840bb2af163a
Cr-Commit-Position: refs/heads/master@{#428954}
Patch Set 1 : 2016-10-31T15:09:59 #Patch Set 2 : 2016-10-31T16:03:04 #Patch Set 3 : 2016-10-31T17:16:07 #
Messages
Total messages: 23 (17 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||