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

Issue 2903203002: Reorganize the maintenance and usage of TextIterator::last_text_node_ (Closed)

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

Description

Reorganize the maintenance and usage of TextIterator::last_text_node_ This patch reorganizes the maintenance and usage of the data member, so that it is only used at non-text-node handling places, so that text node handling code can be moved into a wrapper class. BUG=721957 TEST=n/a; shouldn't be any behavioral change... Review-Url: https://codereview.chromium.org/2903203002 Cr-Commit-Position: refs/heads/master@{#475242} Committed: https://chromium.googlesource.com/chromium/src/+/d1b64ea824a10da503d0ee572442cb3119c3d2ed

Patch Set 1 #

Total comments: 5

Patch Set 2 : Thu May 25 15:30:19 PDT 2017 #

Patch Set 3 : Thu May 25 15:30:19 PDT 2017 #

Patch Set 4 : Thu May 25 16:01:04 PDT 2017 #

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

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 30 (24 generated)
Xiaocheng
PTAL. https://codereview.chromium.org/2903203002/diff/1/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp File third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp (left): https://codereview.chromium.org/2903203002/diff/1/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp#oldcode712 third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp:712: if (last_text_node_ == text_node_ && run_start > 0 ...
3 years, 7 months ago (2017-05-25 05:55:26 UTC) #7
yosin_UTC9
rs lgtm
3 years, 7 months ago (2017-05-25 06:23:03 UTC) #8
yosin_UTC9
https://codereview.chromium.org/2903203002/diff/1/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp File third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp (left): https://codereview.chromium.org/2903203002/diff/1/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp#oldcode712 third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp:712: if (last_text_node_ == text_node_ && run_start > 0 && ...
3 years, 7 months ago (2017-05-25 06:36:15 UTC) #9
Xiaocheng
https://codereview.chromium.org/2903203002/diff/1/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp File third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp (left): https://codereview.chromium.org/2903203002/diff/1/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp#oldcode712 third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp:712: if (last_text_node_ == text_node_ && run_start > 0 && ...
3 years, 7 months ago (2017-05-25 23:02:00 UTC) #12
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/2903203002/60001
3 years, 6 months ago (2017-05-27 06:10:07 UTC) #27
commit-bot: I haz the power
3 years, 6 months ago (2017-05-27 06:13:31 UTC) #30
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/d1b64ea824a10da503d0ee572442...

Powered by Google App Engine
This is Rietveld 408576698