Introduce SelectionModifier::ComputeVisibleExtent() |
||
Issue descriptionThere are lots of CreateVisiblePosition(selection_.Extent(), selection_.Affinity()) in SelectionModifier.cpp, we should introduce ComputeVisibleExtent() to reduce source code
,
Aug 2 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0c5d1c88d1850abfde51d9083a3c25f313107b51 commit 0c5d1c88d1850abfde51d9083a3c25f313107b51 Author: tanvir.rizvi <tanvir.rizvi@samsung.com> Date: Wed Aug 02 03:18:01 2017 Introduce ComputeVisibleExtent() in SelectionModifier Currently we have many calls to function CreateVisiblePosition(selection_.Extent(), selection_.Affinity()) in SelectionModifier. So to reduce the source code introduced ComputeVisibleExtent() in SelectionModifier.cpp BUG= 749380 Change-Id: I31521e1d4956817131719b30f3dede21fe0221ba Reviewed-on: https://chromium-review.googlesource.com/591727 Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#491247} [modify] https://crrev.com/0c5d1c88d1850abfde51d9083a3c25f313107b51/third_party/WebKit/Source/core/editing/SelectionModifier.cpp
,
Aug 8 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by tanvir.r...@samsung.com
, Jul 28 2017