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

Issue 1997563002: Get rid of a redundant function alias positionBeforeNode() (Closed)

Created:
4 years, 7 months ago by yosin_UTC9
Modified:
4 years, 7 months ago
Reviewers:
keishi, yoichio
CC:
blink-reviews, blink-reviews-html_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Get rid of a redundant function alias positionBeforeNode() This patch gets rid of a redundant function alias |positionBeforeNode()| by replacing it by its implementation |Position::beforeNode()| to reduce call depth for ease of debugging and improving code health. BUG=n/a TEST=n/a; no behavior changes Committed: https://crrev.com/860f45795a73d3436975e544f37604023b77f4f3 Cr-Commit-Position: refs/heads/master@{#394973}

Patch Set 1 : 2016-05-19T14:03:34 #

Patch Set 2 : 2016-05-19T19:22:22 Rebase #

Patch Set 3 : 2016-05-19T19:25:37 Rebase #

Patch Set 4 : 2016-05-19T22:13:54 Rebase #

Patch Set 5 : 2016-05-19T22:35:34 rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -40 lines) Patch
M third_party/WebKit/Source/core/editing/Position.h View 1 2 2 chunks +2 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/editing/Position.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionAdjuster.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionModifier.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/VisibleUnits.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp View 1 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp View 3 chunks +3 lines, -3 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 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp View 1 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/serializers/Serialization.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 33 (18 generated)
yosin_UTC9
PTAL All files are editing/ except for core/html/HTMLTextFormControlElement.cpp
4 years, 7 months ago (2016-05-19 05:23:18 UTC) #3
keishi
LGTM
4 years, 7 months ago (2016-05-19 05:26:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997563002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997563002/1
4 years, 7 months ago (2016-05-19 05:37:01 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/224711)
4 years, 7 months ago (2016-05-19 07:12:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997563002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997563002/1
4 years, 7 months ago (2016-05-19 07:39:14 UTC) #10
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/editing/Position.h: While running git apply --index -3 -p1; error: patch ...
4 years, 7 months ago (2016-05-19 09:18:22 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997563002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997563002/40001
4 years, 7 months ago (2016-05-19 10:26:44 UTC) #16
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/editing/SelectionEditor.cpp: While running git apply --index -3 -p1; error: patch ...
4 years, 7 months ago (2016-05-19 12:30:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997563002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997563002/60001
4 years, 7 months ago (2016-05-19 13:14:05 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/140248)
4 years, 7 months ago (2016-05-19 13:30:19 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997563002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997563002/80001
4 years, 7 months ago (2016-05-19 13:38:09 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/216541)
4 years, 7 months ago (2016-05-19 15:43:03 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997563002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997563002/80001
4 years, 7 months ago (2016-05-19 23:35:49 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-20 03:09:52 UTC) #31
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 03:11:17 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/860f45795a73d3436975e544f37604023b77f4f3
Cr-Commit-Position: refs/heads/master@{#394973}

Powered by Google App Engine
This is Rietveld 408576698