summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-07 22:56:41 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-07 22:56:41 +0000
commitcc61adf345e353947f4daf915a668338ede3d095 (patch)
tree0fe8c91d75aeee12b00304aea558dd4199073335
parent67ed83e65dee0e16daf5628748d272a8803eeefd (diff)
downloadchromium_src-cc61adf345e353947f4daf915a668338ede3d095.zip
chromium_src-cc61adf345e353947f4daf915a668338ede3d095.tar.gz
chromium_src-cc61adf345e353947f4daf915a668338ede3d095.tar.bz2
Fix for builder.
BUG=9911 TEST=compiles, works Review URL: http://codereview.chromium.org/6133004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70797 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/ui/views/about_chrome_view.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/ui/views/about_chrome_view.cc b/chrome/browser/ui/views/about_chrome_view.cc
index 2f263b23..341c6f8 100644
--- a/chrome/browser/ui/views/about_chrome_view.cc
+++ b/chrome/browser/ui/views/about_chrome_view.cc
@@ -303,10 +303,10 @@ void AboutChromeView::Init() {
#if defined(GOOGLE_CHROME_BUILD)
std::vector<size_t> url_offsets;
- text = l10n_util::GetStringF(IDS_ABOUT_TERMS_OF_SERVICE,
- std::wstring(),
- std::wstring(),
- &url_offsets);
+ text = UTF16ToWide(l10n_util::GetStringFUTF16(IDS_ABOUT_TERMS_OF_SERVICE,
+ string16(),
+ string16(),
+ &url_offsets));
main_label_chunk4_ = text.substr(0, url_offsets[0]);
main_label_chunk5_ = text.substr(url_offsets[0]);