Index: chrome/browser/net/browser_url_util.cc |
=================================================================== |
--- chrome/browser/net/browser_url_util.cc (revision 43890) |
+++ chrome/browser/net/browser_url_util.cc (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2010 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. |
@@ -23,8 +23,8 @@ |
// may not encode non-ASCII characters in UTF-8. See crbug.com/2820. |
string16 text = url.SchemeIs(chrome::kMailToScheme) ? |
ASCIIToUTF16(url.path()) : |
- WideToUTF16(net::FormatUrl(url, languages, false, UnescapeRule::NONE, |
- NULL, NULL, NULL)); |
+ WideToUTF16(net::FormatUrl(url, languages, net::kFormatUrlOmitNothing, |
+ UnescapeRule::NONE, NULL, NULL, NULL)); |
ScopedClipboardWriter scw(clipboard); |
scw.WriteURL(text); |