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

Issue 2871173002: Add LazyLineBreakIterator::Next/PreviousBreakOpportunity() (Closed)

Created:
3 years, 7 months ago by kojii
Modified:
3 years, 7 months ago
Reviewers:
eae
CC:
blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, dshwang, drott+blinkwatch_chromium.org, krit, fmalita+watch_chromium.org, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add LazyLineBreakIterator::Next/PreviousBreakOpportunity() This patch adds LazyLineBreakIterator::Next/PreviousBreakOpportunity(), ported from ShapingLineBreaker. This allows iterations over break opportunities without iterating all characters. In addition: 1. Add LineBreakType to LazyLineBreakIterator. Most existing uses pass LineBreakType explicitly and they are not affected. 2. IsBreakable() and its sub functions are marked as const. All what it changes are cached values that mutable is reasonable. Review-Url: https://codereview.chromium.org/2871173002 Cr-Commit-Position: refs/heads/master@{#470819} Committed: https://chromium.googlesource.com/chromium/src/+/ba945d41f5c4ebbb6512810a7e3ec728d22cd185

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -64 lines) Patch
M third_party/WebKit/Source/platform/fonts/shaping/ShapingLineBreaker.h View 2 chunks +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/shaping/ShapingLineBreaker.cpp View 4 chunks +6 lines, -31 lines 0 comments Download
M third_party/WebKit/Source/platform/text/TextBreakIterator.h View 4 chunks +48 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/platform/text/TextBreakIterator.cpp View 5 chunks +23 lines, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (18 generated)
kojii
PTAL. Is this reasonable thing to do?
3 years, 7 months ago (2017-05-10 14:58:45 UTC) #10
eae
LGTM Thank you!
3 years, 7 months ago (2017-05-10 16:07:48 UTC) #11
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/2871173002/20001
3 years, 7 months ago (2017-05-10 16:10:15 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/450228)
3 years, 7 months ago (2017-05-10 17:54:01 UTC) #15
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/2871173002/20001
3 years, 7 months ago (2017-05-10 18:27:14 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/450610)
3 years, 7 months ago (2017-05-10 20:46:04 UTC) #19
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/2871173002/20001
3 years, 7 months ago (2017-05-11 01:13:42 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/451129)
3 years, 7 months ago (2017-05-11 04:10:13 UTC) #23
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/2871173002/20001
3 years, 7 months ago (2017-05-11 04:12:38 UTC) #25
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 05:22:41 UTC) #28
Message was sent while issue was closed.
Committed patchset #1 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ba945d41f5c4ebbb6512810a7e3e...

Powered by Google App Engine
This is Rietveld 408576698