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

Unified Diff: chrome/browser/autocomplete/history_provider.cc

Issue 11734029: Omnibox: revise comment pointing to wrong bug (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comment. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/history_provider.cc
diff --git a/chrome/browser/autocomplete/history_provider.cc b/chrome/browser/autocomplete/history_provider.cc
index d4df1d94fda45aaab1f28e95a383787580154026..475c804ab204796c747e00b03a6526e60700b988 100644
--- a/chrome/browser/autocomplete/history_provider.cc
+++ b/chrome/browser/autocomplete/history_provider.cc
@@ -134,12 +134,6 @@ bool HistoryProvider::FixupUserInput(AutocompleteInput* input) {
url_parse::Parsed parts;
URLFixerUpper::SegmentURL(output, &parts);
- // TODO: This function does not take into account the cursor position while
- // running various normalizations, including a call to FixupURL(). In order
- // to make it work properly, we need to ensure that all logic above is
- // cursor-aware and offsets the input cursor accordingly.
- // For now we simply pretend that the cursor was not set at all.
- // See http://crbug/163932 for more details.
input->UpdateText(output, string16::npos, parts);
return !output.empty();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698