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

Issue 2930863002: Move LeftPositionOf() and RightPositionOf() to SelectionModifierCharacter.cpp (Closed)

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

Description

Move LeftPositionOf() and RightPositionOf() to SelectionModifierCharacter.cpp This patch moves |LeftPositionOf()| and |RightPositionOf()| with related functions with tests to "SelectionModifierCharacter.cpp" and "SelectionModifierTest.cpp" since these functions are used only in |SelectionModifier| class for improving code health. This patch also makes moved code C++11'ish, |0| to |nullptr|. BUG=707656 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2930863002 Cr-Commit-Position: refs/heads/master@{#478192} Committed: https://chromium.googlesource.com/chromium/src/+/93057ddbe435d42cbd1c3b39b63276f29076acdc

Patch Set 1 : 2017-06-08T18:53:47 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+601 lines, -531 lines) Patch
M third_party/WebKit/Source/core/editing/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionModifier.h View 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/SelectionModifierCharacter.cpp View 1 chunk +484 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/SelectionModifierTest.cpp View 1 chunk +95 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/VisibleUnits.h View 2 chunks +4 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/editing/VisibleUnits.cpp View 1 chunk +0 lines, -436 lines 0 comments Download
M third_party/WebKit/Source/core/editing/VisibleUnitsTest.cpp View 2 chunks +0 lines, -82 lines 0 comments Download

Messages

Total messages: 16 (12 generated)
yosin_UTC9
PTAL
3 years, 6 months ago (2017-06-09 03:29:23 UTC) #10
Xiaocheng
lgtm
3 years, 6 months ago (2017-06-09 03:39:42 UTC) #11
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/2930863002/20001
3 years, 6 months ago (2017-06-09 03:47:52 UTC) #13
commit-bot: I haz the power
3 years, 6 months ago (2017-06-09 03:52:12 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/93057ddbe435d42cbd1c3b39b632...

Powered by Google App Engine
This is Rietveld 408576698