diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-29 20:08:33 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-29 20:08:33 +0000 |
commit | 7c8c869c9cd34e78dc40d7c9840aa7b4b778ba0a (patch) | |
tree | 3b997b69adc872122ada0872405017c9a4f18cc8 /chrome/browser/remoting | |
parent | 8d4db9d979a78a413fb28e02ae286643c86972ee (diff) | |
download | chromium_src-7c8c869c9cd34e78dc40d7c9840aa7b4b778ba0a.zip chromium_src-7c8c869c9cd34e78dc40d7c9840aa7b4b778ba0a.tar.gz chromium_src-7c8c869c9cd34e78dc40d7c9840aa7b4b778ba0a.tar.bz2 |
Remove wstring from l10n_util. Part 3.
BUG=9911
TEST=no visible changes; all tests pass
Review URL: http://codereview.chromium.org/6044006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70271 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/remoting')
-rw-r--r-- | chrome/browser/remoting/remoting_setup_flow.cc | 5 | ||||
-rw-r--r-- | chrome/browser/remoting/setup_flow.cc | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/remoting/remoting_setup_flow.cc b/chrome/browser/remoting/remoting_setup_flow.cc index 05c7590..f46fac0 100644 --- a/chrome/browser/remoting/remoting_setup_flow.cc +++ b/chrome/browser/remoting/remoting_setup_flow.cc @@ -165,8 +165,9 @@ void RemotingSetupFlow::OnCloseContents(TabContents* source, bool* out_close_dialog) { } -std::wstring RemotingSetupFlow::GetDialogTitle() const { - return l10n_util::GetString(IDS_REMOTING_SETUP_DIALOG_TITLE); +std::wstring RemotingSetupFlow::GetDialogTitle() const { + return UTF16ToWideHack( + l10n_util::GetStringUTF16(IDS_REMOTING_SETUP_DIALOG_TITLE)); } bool RemotingSetupFlow::IsDialogModal() const { diff --git a/chrome/browser/remoting/setup_flow.cc b/chrome/browser/remoting/setup_flow.cc index fe20b8d..c6756bb 100644 --- a/chrome/browser/remoting/setup_flow.cc +++ b/chrome/browser/remoting/setup_flow.cc @@ -155,8 +155,9 @@ void SetupFlow::OnCloseContents(TabContents* source, bool* out_close_dialog) { } -std::wstring SetupFlow::GetDialogTitle() const { - return l10n_util::GetString(IDS_REMOTING_SETUP_DIALOG_TITLE); +std::wstring SetupFlow::GetDialogTitle() const { + return UTF16ToWideHack( + l10n_util::GetStringUTF16(IDS_REMOTING_SETUP_DIALOG_TITLE)); } bool SetupFlow::IsDialogModal() const { |