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

Issue 2896023003: Reorganize the maintenance of several text node related members in TextIterator (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 of several text node related members in TextIterator Some members of TextIterator are used only by text node related functions, but are initialized/reset at multiple places in the class. This patch reorganizes them so that they are maintained solely by text node related functions/code. - offset_ - handled_first_letter_ - first_letter_text_ BUG=721957 TEST=n/a; shouldn't have any behavioral change Review-Url: https://codereview.chromium.org/2896023003 Cr-Commit-Position: refs/heads/master@{#475231} Committed: https://chromium.googlesource.com/chromium/src/+/2d8f80cfe9a0069c01a44d3f209b69e5186da2fc

Patch Set 1 #

Patch Set 2 : Mon May 22 15:40:24 PDT 2017 #

Patch Set 3 : Tue May 23 20:24:06 PDT 2017 #

Patch Set 4 : Tue May 23 22:15:08 PDT 2017 #

Patch Set 5 : Tue May 23 22:16:40 PDT 2017 #

Patch Set 6 : Thu May 25 15:15:18 PDT 2017 #

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

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 40 (30 generated)
Xiaocheng
PTAL.
3 years, 7 months ago (2017-05-24 18:24:35 UTC) #8
yosin_UTC9
rs lgtm
3 years, 7 months ago (2017-05-25 04:51:59 UTC) #10
commit-bot: I haz the power
This CL has an open dependency (Issue 2902683005 Patch 80001). Please resolve the dependency and ...
3 years, 7 months ago (2017-05-25 04:52:16 UTC) #13
Xiaocheng
Thanks for reviewing. Postponed to M61 in case of regressions.
3 years, 7 months ago (2017-05-25 05:33:22 UTC) #14
Xiaocheng
Whoops, I should have run layout tests locally before uploading... The reorganization of last_text_node_ends_with_collapsed_space_ is ...
3 years, 7 months ago (2017-05-25 20:58:24 UTC) #17
Xiaocheng
I finally decided not to touch whitespace fixup code (last_text_node_ended_with_collapsed_space_). It's maintenance is too hacky ...
3 years, 7 months ago (2017-05-25 22:36:56 UTC) #21
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/2896023003/100001
3 years, 6 months ago (2017-05-26 23:56:40 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/348795)
3 years, 6 months ago (2017-05-27 00:06:23 UTC) #32
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/2896023003/100001
3 years, 6 months ago (2017-05-27 03:15:18 UTC) #37
commit-bot: I haz the power
3 years, 6 months ago (2017-05-27 03:23:24 UTC) #40
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/2d8f80cfe9a0069c01a44d3f209b...

Powered by Google App Engine
This is Rietveld 408576698