summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/toolbar
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-24 20:36:44 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-24 20:36:44 +0000
commit42ca28c9fb3d098729683f28085c9585af1c3df8 (patch)
treee9224ac8e93394601f7e863c3e8e75c8115e118d /chrome/browser/ui/toolbar
parente94ccaeddbb8fb4cbc4e28d9e6f8df68ce48c37e (diff)
downloadchromium_src-42ca28c9fb3d098729683f28085c9585af1c3df8.zip
chromium_src-42ca28c9fb3d098729683f28085c9585af1c3df8.tar.gz
chromium_src-42ca28c9fb3d098729683f28085c9585af1c3df8.tar.bz2
Remove wstring from autocomplete.
BUG=23581 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6258015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72380 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/toolbar')
-rw-r--r--chrome/browser/ui/toolbar/toolbar_model.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/ui/toolbar/toolbar_model.cc b/chrome/browser/ui/toolbar/toolbar_model.cc
index 98c392a..b8091a3 100644
--- a/chrome/browser/ui/toolbar/toolbar_model.cc
+++ b/chrome/browser/ui/toolbar/toolbar_model.cc
@@ -53,9 +53,11 @@ std::wstring ToolbarModel::GetText() const {
// Note that we can't unescape spaces here, because if the user copies this
// and pastes it into another program, that program may think the URL ends at
// the space.
- return AutocompleteInput::FormattedStringWithEquivalentMeaning(url,
- UTF16ToWideHack(net::FormatUrl(url, languages, net::kFormatUrlOmitAll,
- UnescapeRule::NORMAL, NULL, NULL, NULL)));
+ return UTF16ToWideHack(
+ AutocompleteInput::FormattedStringWithEquivalentMeaning(
+ url,
+ net::FormatUrl(url, languages, net::kFormatUrlOmitAll,
+ UnescapeRule::NORMAL, NULL, NULL, NULL)));
}
ToolbarModel::SecurityLevel ToolbarModel::GetSecurityLevel() const {