Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Issue 2964863003: Refactor SelectionController::SelectClosestWordFromHitTestResult() (Closed)

Created:
3 years, 5 months ago by yosin_UTC9
Modified:
3 years, 5 months ago
Reviewers:
yoichio
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor SelectionController::SelectClosestWordFromHitTestResult() This patch changes |SelectionController::SelectClosestWordFromHitTestResult()| to use const variable for improving readability. BUG=n/a TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2964863003 Cr-Commit-Position: refs/heads/master@{#484176} Committed: https://chromium.googlesource.com/chromium/src/+/574d9b1862565cd77123de42537b27faef0f9bc0

Patch Set 1 : 2017-07-04T13:06:21 #

Total comments: 1

Patch Set 2 : 2017-07-04T18:47:54 const VisbileSelectionInFlatTree #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -12 lines) Patch
M third_party/WebKit/Source/core/editing/SelectionController.cpp View 1 3 chunks +13 lines, -12 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
yosin_UTC9
PTAL
3 years, 5 months ago (2017-07-04 05:20:45 UTC) #5
yoichio
https://codereview.chromium.org/2964863003/diff/1/third_party/WebKit/Source/core/editing/SelectionController.cpp File third_party/WebKit/Source/core/editing/SelectionController.cpp (right): https://codereview.chromium.org/2964863003/diff/1/third_party/WebKit/Source/core/editing/SelectionController.cpp#newcode531 third_party/WebKit/Source/core/editing/SelectionController.cpp:531: new_selection.AppendTrailingWhitespace(); How about making AppendTrailingWhitespace() const and return VS ...
3 years, 5 months ago (2017-07-04 05:32:18 UTC) #6
yosin_UTC9
PTAL Utilize const variable since VisibleSelection::AppendTrailingWhitespace() is changed to const function.
3 years, 5 months ago (2017-07-04 09:49:38 UTC) #12
yoichio
lgtm
3 years, 5 months ago (2017-07-05 01:43:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2964863003/20001
3 years, 5 months ago (2017-07-05 01:53:09 UTC) #17
commit-bot: I haz the power
3 years, 5 months ago (2017-07-05 01:57:40 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/574d9b1862565cd77123de42537b...

Powered by Google App Engine
This is Rietveld 408576698