Omnibox UI Experiments: Fix path elision behavior on HQP.

Desktop / Chromium - Tommy C. Li [chromium.org] - 12 July 2017 17:57 EDT

HQP currently shares a FormatUrl call between the match.fill_into_edit and match.contents calls.

This is no longer appropriate given that the path may be elided. Per discussions with pkasting, none of the destructive elisions should be applied to the match.fill_into_edit fields.

Bug: 732582 Change-Id: I91b1181edaa2d3b9f150a9313951bf6ff59103a4 Reviewed-on: https://chromium-review.googlesource.com/567236

02c85c5 Omnibox UI Experiments: Fix path elision behavior on HQP.
.../omnibox/browser/history_quick_provider.cc | 49 ++++++++++++----------
1 file changed, 26 insertions(+), 23 deletions(-)

Upstream: git.chromium.org


  • Share