summaryrefslogtreecommitdiffstats
path: root/printing/printed_document.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-08 00:49:16 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-08 00:49:16 +0000
commit7f23bac00f99429e34198b12322c11de3097e0ae (patch)
treed6d5994d06ed4aaa1b11aa3bcaf55ebaa2fdcaa8 /printing/printed_document.cc
parentb852b07bce576b50aae75cbdc6ebf8c53d226c7f (diff)
downloadchromium_src-7f23bac00f99429e34198b12322c11de3097e0ae.zip
chromium_src-7f23bac00f99429e34198b12322c11de3097e0ae.tar.gz
chromium_src-7f23bac00f99429e34198b12322c11de3097e0ae.tar.bz2
Remove wstrings from ui/base/text_elider.h functions.
The last param is for languages, which is already a std::string in most places. BUG=23581 Review URL: http://codereview.chromium.org/6627061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77219 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printed_document.cc')
-rw-r--r--printing/printed_document.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/printed_document.cc b/printing/printed_document.cc
index 1f2a939..45603b5 100644
--- a/printing/printed_document.cc
+++ b/printing/printed_document.cc
@@ -239,7 +239,7 @@ void PrintedDocument::PrintHeaderFooter(gfx::NativeDrawingContext context,
if (string_size.width() > bounding.width()) {
if (line == PageOverlays::kUrl) {
output = UTF16ToWideHack(ui::ElideUrl(url(), font, bounding.width(),
- std::wstring()));
+ std::string()));
} else {
output = UTF16ToWideHack(ui::ElideText(WideToUTF16Hack(output),
font, bounding.width(), false));