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

Issue 2373483003: Ensure valid VisiblePosition input for absoluteCaretBoundsOf (Closed)

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

Description

Ensure valid VisiblePosition input for absoluteCaretBoundsOf BUG=648949 Committed: https://crrev.com/c7fdeab7c9ee00f1ea57b71ee5341109280b778e Cr-Commit-Position: refs/heads/master@{#421418}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Ensure valid VP for absoluteCaretBoundsOf #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M third_party/WebKit/Source/core/editing/VisibleUnits.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp View 1 1 chunk +2 lines, -0 lines 1 comment Download

Messages

Total messages: 19 (12 generated)
Xiaocheng
PTAL.
4 years, 2 months ago (2016-09-27 09:16:59 UTC) #4
yosin_UTC9
https://codereview.chromium.org/2373483003/diff/1/third_party/WebKit/Source/core/editing/VisibleUnits.cpp File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): https://codereview.chromium.org/2373483003/diff/1/third_party/WebKit/Source/core/editing/VisibleUnits.cpp#newcode2959 third_party/WebKit/Source/core/editing/VisibleUnits.cpp:2959: static IntRect absoluteCaretBoundsOfAlgorithmDeprecated(const VisiblePositionTemplate<Strategy>& visiblePosition) Let's make absoluteCaretBoundsOfAlgorithm to ...
4 years, 2 months ago (2016-09-27 10:09:50 UTC) #5
Xiaocheng
I just realized that it's fairly easy to ensure valid VP for this function. So ...
4 years, 2 months ago (2016-09-27 12:05:08 UTC) #11
yosin_UTC9
lgtm https://codereview.chromium.org/2373483003/diff/20001/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp File third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp (right): https://codereview.chromium.org/2373483003/diff/20001/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp#newcode666 third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp:666: startOfParagraphToMove = createVisiblePosition(storedStartOfParagraphToMove); Rational of converting VP: |startOfParagraphToMove| ...
4 years, 2 months ago (2016-09-28 01:24:06 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/2373483003/20001
4 years, 2 months ago (2016-09-28 01:24:36 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-09-28 01:30:04 UTC) #17
commit-bot: I haz the power
4 years, 2 months ago (2016-09-28 01:33:25 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c7fdeab7c9ee00f1ea57b71ee5341109280b778e
Cr-Commit-Position: refs/heads/master@{#421418}

Powered by Google App Engine
This is Rietveld 408576698