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

Issue 1144303004: BiDiLineIterator: Remove "url" parameter. (Closed)

Created:
5 years, 6 months ago by Matt Giuca
Modified:
5 years, 6 months ago
Reviewers:
msw, jungshik at Google
CC:
chromium-reviews, erikwright+watch_chromium.org, derat+watch_chromium.org, jshin+watch_chromium.org, Peter Kasting, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

BiDiLineIterator: Remove "url" parameter. This parameter is always passed "false", and it doesn't do anything sensible if you pass "true". It purports to be processing bidi text for a URL, but it does not do anything of the sort. Specifically, if the overall text direction of the string is RTL, it tells ICU to use the UBIDI_REORDER_RUNS_ONLY algorithm, which disables the bidi algorithm and places all strong characters (LTR and RTL) at Level 0. This is not designed to produce a display ordering and has nothing to do with the formatting requirements for a URL. It might have made sense back when BiDiLineIterator was solely used by AutocompleteResultView in 2008 (it did some sort of post processing on the reversed runs), but I don't want this misleading parameter to stay around now. BUG=351639 Committed: https://crrev.com/8b2bdeaa0e5bc7dbb50017bd0e6ee1c6ecc22dee Cr-Commit-Position: refs/heads/master@{#333687}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -7 lines) Patch
M base/i18n/bidi_line_iterator.h View 1 chunk +1 line, -1 line 0 comments Download
M base/i18n/bidi_line_iterator.cc View 1 chunk +1 line, -5 lines 0 comments Download
M ui/gfx/render_text_harfbuzz.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
Matt Giuca
jshin@chromium.org: Please review changes in bidi_line_iterator. msw@chromium.org: Please review changes in render_text_harfbuzz. For a bit ...
5 years, 6 months ago (2015-06-03 07:05:41 UTC) #2
msw
render_text_harfbuzz lgtm
5 years, 6 months ago (2015-06-03 16:49:42 UTC) #3
Matt Giuca
jshin: ping.
5 years, 6 months ago (2015-06-09 04:34:50 UTC) #4
jungshik at Google
On 2015/06/09 04:34:50, Matt Giuca wrote: > jshin: ping. Ooops. Sorry. LGTM
5 years, 6 months ago (2015-06-09 22:51:15 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1144303004/1
5 years, 6 months ago (2015-06-10 04:25:33 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 6 months ago (2015-06-10 05:53:29 UTC) #8
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 05:54:11 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8b2bdeaa0e5bc7dbb50017bd0e6ee1c6ecc22dee
Cr-Commit-Position: refs/heads/master@{#333687}

Powered by Google App Engine
This is Rietveld 408576698