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

Issue 560333002: Avoid more temporary ranges in connection with various TextIterators. (Closed)

Created:
6 years, 3 months ago by Mads Ager (chromium)
Modified:
6 years, 3 months ago
CC:
aboxhall, blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, dmazzoni, eae+blinkwatch, rwlbuis, sof
Project:
blink
Visibility:
Public.

Description

Avoid more temporary ranges in connection with various TextIterators. Rename the range method to createRange and remove it from the classes where we have gotten rid of all uses. R=yosin@chromium.org BUG=388681 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181974

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address review comments. #

Patch Set 3 : Fix mac build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -101 lines) Patch
M Source/core/accessibility/AXRenderObject.cpp View 1 1 chunk +7 lines, -5 lines 0 comments Download
M Source/core/dom/DocumentMarkerController.cpp View 4 chunks +7 lines, -11 lines 0 comments Download
M Source/core/dom/Range.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/Range.cpp View 2 chunks +43 lines, -12 lines 0 comments Download
M Source/core/editing/PlainTextRange.cpp View 4 chunks +17 lines, -16 lines 0 comments Download
M Source/core/editing/SurroundingText.cpp View 2 chunks +4 lines, -10 lines 0 comments Download
M Source/core/editing/TextIterator.h View 4 chunks +9 lines, -7 lines 0 comments Download
M Source/core/editing/TextIterator.cpp View 1 11 chunks +51 lines, -35 lines 0 comments Download
M Source/core/html/HTMLTextFormControlElement.cpp View 1 1 chunk +6 lines, -4 lines 0 comments Download
M Source/web/mac/WebSubstringUtil.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (5 generated)
Mads Ager (chromium)
6 years, 3 months ago (2014-09-11 14:57:45 UTC) #1
yosin_UTC9
LGTM Since I'm fan of functional programming, |StartPositionAndEndPosition| struct (or |ImmutableRange|) attract me for replacing ...
6 years, 3 months ago (2014-09-12 01:02:24 UTC) #2
Mads Ager (chromium)
Thanks for the review. I agree that some of this could be revisited once we ...
6 years, 3 months ago (2014-09-12 10:52:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/560333002/20001
6 years, 3 months ago (2014-09-12 10:52:28 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/23181)
6 years, 3 months ago (2014-09-12 11:04:19 UTC) #7
Mads Ager (chromium)
Kent, could you have a look at the trivial change in web/
6 years, 3 months ago (2014-09-12 11:50:51 UTC) #9
Mads Ager (chromium)
Kent or Jochen, could one of you have a quick look at the trivial web/ ...
6 years, 3 months ago (2014-09-15 08:26:29 UTC) #11
jochen (gone - plz use gerrit)
lgtm
6 years, 3 months ago (2014-09-15 12:26:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/560333002/40001
6 years, 3 months ago (2014-09-15 12:28:18 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-15 12:40:19 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 181974

Powered by Google App Engine
This is Rietveld 408576698