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

Issue 2691913002: Introduce computePositionForNodeRemoval() as replacement of updatePositionForNodeRemoval() (Closed)

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

Description

Introduce computePositionForNodeRemoval() as replacement of updatePositionForNodeRemoval() This patch Introduces |computePositionForNodeRemoval()| as replacement of |updatePositionForNodeRemoval()| to avoid using side-effect function to align with other parts of code for improving code health. BUG=695776 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2691913002 Cr-Commit-Position: refs/heads/master@{#452818} Committed: https://chromium.googlesource.com/chromium/src/+/48aff7a40b37530a9f0c63e7169fecab3bf685d1

Patch Set 1 : 2017-02-13T16:44:26 #

Patch Set 2 : 2017-02-24T16:31:47 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -46 lines) Patch
M third_party/WebKit/Source/core/editing/EditingUtilities.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/EditingUtilities.cpp View 1 1 chunk +29 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionEditor.cpp View 1 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp View 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp View 1 3 chunks +12 lines, -8 lines 0 comments Download

Messages

Total messages: 17 (13 generated)
yosin_UTC9
PTAL It seems bots are in trouble due by infra issue.
3 years, 10 months ago (2017-02-24 09:07:09 UTC) #11
tkent
lgtm
3 years, 10 months ago (2017-02-24 14:12:58 UTC) #13
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/2691913002/20001
3 years, 10 months ago (2017-02-24 14:13:07 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 14:19:05 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/48aff7a40b37530a9f0c63e7169f...

Powered by Google App Engine
This is Rietveld 408576698