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

Issue 9307027: Fix DCHECK with Trailing Slash. (Closed)

Created:
8 years, 10 months ago by mrossetti
Modified:
8 years, 10 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su
Visibility:
Public.

Description

Fix DCHECK with Trailing Slash. A DCHECK was being hit when a full URL with a scheme was entered and the user typed a slash. The slash was being removed by FormatURLWithOffsets but the inline_autocomplete_offset was not being adjusted to account for the removed slash. BUG=112226 TEST=Ran unit tests. TBR=pkasting@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120080

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M chrome/browser/autocomplete/history_quick_provider.cc View 2 chunks +7 lines, -3 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
mrossetti
This will need to be merged.
8 years, 10 months ago (2012-02-01 03:43:50 UTC) #1
Peter Kasting
https://chromiumcodereview.appspot.com/9307027/diff/1/chrome/browser/autocomplete/history_quick_provider.cc File chrome/browser/autocomplete/history_quick_provider.cc (right): https://chromiumcodereview.appspot.com/9307027/diff/1/chrome/browser/autocomplete/history_quick_provider.cc#newcode146 chrome/browser/autocomplete/history_quick_provider.cc:146: // by the FormatURLWithOffsets call above. We should not ...
8 years, 10 months ago (2012-02-02 06:35:14 UTC) #2
mrossetti
On 2012/02/02 06:35:14, Peter Kasting wrote: > https://chromiumcodereview.appspot.com/9307027/diff/1/chrome/browser/autocomplete/history_quick_provider.cc > File chrome/browser/autocomplete/history_quick_provider.cc (right): > > https://chromiumcodereview.appspot.com/9307027/diff/1/chrome/browser/autocomplete/history_quick_provider.cc#newcode146 ...
8 years, 10 months ago (2012-02-02 20:03:36 UTC) #3
Peter Kasting
On 2012/02/02 20:03:36, mrossetti wrote: > The HUP handles an exact match using a different ...
8 years, 10 months ago (2012-02-03 21:53:24 UTC) #4
mrossetti
On 2012/02/03 21:53:24, Peter Kasting wrote: > Since then we implemented trailing slash stripping, which ...
8 years, 10 months ago (2012-02-07 02:27:58 UTC) #5
Peter Kasting
8 years, 10 months ago (2012-02-07 02:30:42 UTC) #6
On 2012/02/07 02:27:58, mrossetti wrote:
> In the meantime, at a minimum, the change from this CL needs to be merged into
> the M18 branch. Do I have your approval to do so?

I guess.  I'm uneasy about all this stuff but it's not the highest-priority bug
on the stack to dig into further.

Powered by Google App Engine
This is Rietveld 408576698