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

Issue 1302353002: Get rid of redundant member function PositionAlgorithm<Strategy>::{upstream,downstream} (Closed)

Created:
5 years, 4 months ago by yosin_UTC9
Modified:
5 years, 4 months ago
Reviewers:
keishi, yosin
CC:
blink-reviews, szager+layoutwatch_chromium.org, blink-reviews-style_chromium.org, zoltan1, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, blink-reviews-rendering, jchaffraix+rendering, yoichio
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Get rid of redundant member function PositionAlgorithm<Strategy>::{upstream,downstream} This patch gets rid of |PositionAlgorithm<Strategy>::{upstream,downstream}| by replacing them by |most{Forward,Backward}CaretPosition()| to simplify |PositionAlgorithm<Strategy>| template class for improving code health, since |PositionAlgorithm<Strategy>::{upstream,downstream}| are simple wrapper functions. BUG=518738 TEST=n/a; no behavior changes Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201016

Patch Set 1 : 2015-08-21T20:11:53 #

Patch Set 2 : 2015-08-22T00:02:10 Rebase #

Patch Set 3 : 2015-08-22T04:51:20 Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -159 lines) Patch
M Source/core/editing/EditingStyle.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/editing/EditingUtilities.cpp View 1 2 8 chunks +11 lines, -11 lines 0 comments Download
M Source/core/editing/FrameSelection.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/InputMethodController.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/editing/Position.h View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/editing/Position.cpp View 1 2 1 chunk +0 lines, -12 lines 0 comments Download
M Source/core/editing/PositionTest.cpp View 1 2 2 chunks +1 line, -30 lines 0 comments Download
M Source/core/editing/SelectionController.cpp View 2 chunks +7 lines, -7 lines 0 comments Download
M Source/core/editing/VisiblePosition.cpp View 7 chunks +8 lines, -8 lines 0 comments Download
M Source/core/editing/VisibleSelection.cpp View 5 chunks +9 lines, -9 lines 0 comments Download
M Source/core/editing/VisibleUnits.cpp View 1 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/editing/VisibleUnitsTest.cpp View 1 chunk +30 lines, -0 lines 0 comments Download
M Source/core/editing/commands/ApplyBlockElementCommand.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/commands/ApplyStyleCommand.cpp View 9 chunks +12 lines, -12 lines 0 comments Download
M Source/core/editing/commands/BreakBlockquoteCommand.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/commands/CompositeEditCommand.cpp View 9 chunks +14 lines, -14 lines 0 comments Download
M Source/core/editing/commands/DeleteSelectionCommand.cpp View 5 chunks +11 lines, -11 lines 0 comments Download
M Source/core/editing/commands/InsertListCommand.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp View 4 chunks +7 lines, -7 lines 0 comments Download
M Source/core/editing/commands/InsertTextCommand.cpp View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/editing/commands/ReplaceSelectionCommand.cpp View 6 chunks +8 lines, -8 lines 0 comments Download
M Source/core/editing/commands/TypingCommand.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/editing/serializers/StyledMarkupSerializer.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/layout/HitTestResult.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/layout/LayoutObject.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/layout/LayoutView.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
yosin_UTC9
PTAL
5 years, 4 months ago (2015-08-21 11:23:45 UTC) #2
keishi
LGTM
5 years, 4 months ago (2015-08-21 12:04:20 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1302353002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1302353002/1
5 years, 4 months ago (2015-08-21 12:10:39 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/91207)
5 years, 4 months ago (2015-08-21 12:15:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1302353002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1302353002/20001
5 years, 4 months ago (2015-08-21 15:03:12 UTC) #10
commit-bot: I haz the power
Failed to apply patch for Source/core/editing/PositionTest.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
5 years, 4 months ago (2015-08-21 19:27:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1302353002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1302353002/40001
5 years, 4 months ago (2015-08-21 19:48:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1302353002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1302353002/60001
5 years, 4 months ago (2015-08-21 19:52:32 UTC) #21
commit-bot: I haz the power
5 years, 4 months ago (2015-08-21 21:24:59 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201016

Powered by Google App Engine
This is Rietveld 408576698