Skip to content
  • jshin's avatar
    Drop |languages| from FormatUrl*() and ElideUrl() · 1fb76469
    jshin authored
    In http://crrev.com/382029, IDN display policy was revised to be
    independent of Accept-Languages (A-L).  Therefore, IDNToUnicode(), FormatUrl*()
    and ElideUrl() do not need |languages| argument any more.
    ( ElideUrl() can pass A-L down to gfx string drawing/measuring API help
    their font selection, but there's no gfx string drawing/measuring API taking
    into account A-L values in the font selection atm.)
    
    Drop it in the API and fix all the call sites. There is a huge ripple effect
    and a lot of files have to be fixed up.
    
    BUG=336973
    TEST=Builds on all platforms and pass all the tests pass
    CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
    CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel,mac_blink_rel,win_blink_rel
    
    Review URL: https://codereview.chromium.org/1841653003
    
    Cr-Commit-Position: refs/heads/master@{#385299}
    1fb76469