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

Issue 2343363006: Prune CreateVisiblePositionDeprecated from DragCaretController (Closed)

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

Description

Prune CreateVisiblePositionDeprecated from DragCaretController DragCaretController::setCaretPosition is called either with a null position (from DragCaretController::clear), or after a hit test. In either case, we don't need to update layout before creating a VisiblePosition from the passed Position. BUG=647219 Committed: https://crrev.com/88a3c048159bb78cb16a46327e837029f9a3d580 Cr-Commit-Position: refs/heads/master@{#419693}

Patch Set 1 #

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

Messages

Total messages: 14 (8 generated)
Xiaocheng
PTAL.
4 years, 3 months ago (2016-09-20 03:43:26 UTC) #5
yosin_UTC9
lgtm Thanks! https://codereview.chromium.org/2343363006/diff/1/third_party/WebKit/Source/core/editing/DragCaretController.cpp File third_party/WebKit/Source/core/editing/DragCaretController.cpp (right): https://codereview.chromium.org/2343363006/diff/1/third_party/WebKit/Source/core/editing/DragCaretController.cpp#newcode72 third_party/WebKit/Source/core/editing/DragCaretController.cpp:72: m_position = createVisiblePosition(position); Note: Since we call ...
4 years, 3 months ago (2016-09-20 07:45:59 UTC) #8
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/2343363006/1
4 years, 3 months ago (2016-09-20 07:46:30 UTC) #10
Xiaocheng
On 2016/09/20 at 07:45:59, yosin wrote: > lgtm > Thanks! > > https://codereview.chromium.org/2343363006/diff/1/third_party/WebKit/Source/core/editing/DragCaretController.cpp > File ...
4 years, 3 months ago (2016-09-20 07:53:52 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-20 08:10:27 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 08:11:50 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/88a3c048159bb78cb16a46327e837029f9a3d580
Cr-Commit-Position: refs/heads/master@{#419693}

Powered by Google App Engine
This is Rietveld 408576698