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

Issue 2291883003: Ensure clean layout before calling TextIterator::rangeLength in editing code (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

Ensure clean layout before calling TextIterator::rangeLength in editing code This patch is a preparation for removing the call site of Document::updateStyleAndLayoutIgnorePendingStylesheets from TextIterator::rangeLength. BUG=590369 Committed: https://crrev.com/0e35e759f3b4b41bf55b04155fa3cdd028308a1e Cr-Commit-Position: refs/heads/master@{#415260}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M third_party/WebKit/Source/core/editing/EditingUtilities.cpp View 1 chunk +5 lines, -0 lines 2 comments Download
M third_party/WebKit/Source/core/editing/PlainTextRange.cpp View 1 chunk +4 lines, -0 lines 2 comments Download
M third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
Xiaocheng
PTAL.
4 years, 3 months ago (2016-08-30 07:17:59 UTC) #4
yosin_UTC9
lgtm https://codereview.chromium.org/2291883003/diff/1/third_party/WebKit/Source/core/editing/EditingUtilities.cpp File third_party/WebKit/Source/core/editing/EditingUtilities.cpp (right): https://codereview.chromium.org/2291883003/diff/1/third_party/WebKit/Source/core/editing/EditingUtilities.cpp#newcode1707 third_party/WebKit/Source/core/editing/EditingUtilities.cpp:1707: document.updateStyleAndLayoutIgnorePendingStylesheets(); I hope following patch will hoist this ...
4 years, 3 months ago (2016-08-30 07:40:24 UTC) #5
Xiaocheng
Thanks. https://codereview.chromium.org/2291883003/diff/1/third_party/WebKit/Source/core/editing/EditingUtilities.cpp File third_party/WebKit/Source/core/editing/EditingUtilities.cpp (right): https://codereview.chromium.org/2291883003/diff/1/third_party/WebKit/Source/core/editing/EditingUtilities.cpp#newcode1707 third_party/WebKit/Source/core/editing/EditingUtilities.cpp:1707: document.updateStyleAndLayoutIgnorePendingStylesheets(); On 2016/08/30 at 07:40:24, Yosi_UTC9 wrote: > ...
4 years, 3 months ago (2016-08-30 07:42:52 UTC) #6
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/2291883003/1
4 years, 3 months ago (2016-08-30 09:47:50 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-08-30 09:51:58 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 09:54:46 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/0e35e759f3b4b41bf55b04155fa3cdd028308a1e
Cr-Commit-Position: refs/heads/master@{#415260}

Powered by Google App Engine
This is Rietveld 408576698