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

Unified Diff: chrome/browser/views/url_picker.cc

Issue 372017: Fix various problems with inline autocomplete and URLs that change length dur... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « chrome/browser/views/bookmark_editor_view.cc ('k') | net/base/escape.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/url_picker.cc
===================================================================
--- chrome/browser/views/url_picker.cc (revision 31214)
+++ chrome/browser/views/url_picker.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -293,9 +293,8 @@
profile_->GetPrefs()->GetString(prefs::kAcceptLanguages);
// Because the url_field_ is user-editable, we set the URL with
// username:password and escaped path and query.
- std::wstring formatted = net::FormatUrl(
- url_table_model_->GetURL(selection), languages,
- false, UnescapeRule::NONE, NULL, NULL);
+ std::wstring formatted = net::FormatUrl(url_table_model_->GetURL(selection),
+ languages, false, UnescapeRule::NONE, NULL, NULL, NULL);
url_field_->SetText(formatted);
if (title_field_)
title_field_->SetText(url_table_model_->GetTitle(selection));
« no previous file with comments | « chrome/browser/views/bookmark_editor_view.cc ('k') | net/base/escape.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698