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

Issue 2902683005: Ensure single entry into TextIterator::HandleTextNode for each node (Closed)

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

Description

Ensure single entry into TextIterator::HandleTextNode for each node This patch ensures that TextIterator::HandleTextNode is called at most once on each text node. This allows us to maintain text node related states in this function instead of spreading out in the entire TextIterator, which will be done by a followup patch. BUG=721957 TEST=n/a; no behavioral changes Review-Url: https://codereview.chromium.org/2902683005 Cr-Commit-Position: refs/heads/master@{#475186} Committed: https://chromium.googlesource.com/chromium/src/+/ae7cd2d737112818ef88c1167c816e171e2e4623

Patch Set 1 #

Patch Set 2 : Tue May 23 14:56:35 PDT 2017 #

Patch Set 3 : Tue May 23 14:56:35 PDT 2017 #

Patch Set 4 : Tue May 23 22:17:17 PDT 2017 #

Total comments: 4

Patch Set 5 : Wed May 24 09:59:19 PDT 2017 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -11 lines) Patch
M third_party/WebKit/Source/core/editing/iterators/TextIterator.h View 4 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp View 1 2 8 chunks +28 lines, -10 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (26 generated)
Xiaocheng
PTAL.
3 years, 7 months ago (2017-05-24 05:20:24 UTC) #15
yosin_UTC9
lgtm w/ nits https://codereview.chromium.org/2902683005/diff/60001/third_party/WebKit/Source/core/editing/iterators/TextIterator.h File third_party/WebKit/Source/core/editing/iterators/TextIterator.h (right): https://codereview.chromium.org/2902683005/diff/60001/third_party/WebKit/Source/core/editing/iterators/TextIterator.h#newcode147 third_party/WebKit/Source/core/editing/iterators/TextIterator.h:147: void HandlePreFormattedTextNode(); I think we don't ...
3 years, 7 months ago (2017-05-24 08:48:39 UTC) #16
Xiaocheng
Thanks for reviewing. I'll land this patch after M60 branch in case this patch causes ...
3 years, 7 months ago (2017-05-24 17:01:39 UTC) #17
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/2902683005/80001
3 years, 7 months ago (2017-05-26 21:42:11 UTC) #28
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 23:31:30 UTC) #31
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/ae7cd2d737112818ef88c1167c81...

Powered by Google App Engine
This is Rietveld 408576698