| Index: chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc
|
| ===================================================================
|
| --- chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc (revision 71043)
|
| +++ chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc (working copy)
|
| @@ -133,7 +133,7 @@
|
| void CloudPrintSetupFlow::GetDialogSize(gfx::Size* size) const {
|
| PrefService* prefs = profile_->GetPrefs();
|
| gfx::Font approximate_web_font(
|
| - UTF8ToWide(prefs->GetString(prefs::kWebKitSansSerifFontFamily)),
|
| + UTF8ToUTF16(prefs->GetString(prefs::kWebKitSansSerifFontFamily)),
|
| prefs->GetInteger(prefs::kWebKitDefaultFontSize));
|
|
|
| if (setup_done_) {
|
| @@ -282,7 +282,7 @@
|
| if (dom_ui_) {
|
| PrefService* prefs = profile_->GetPrefs();
|
| gfx::Font approximate_web_font(
|
| - UTF8ToWide(prefs->GetString(prefs::kWebKitSansSerifFontFamily)),
|
| + UTF8ToUTF16(prefs->GetString(prefs::kWebKitSansSerifFontFamily)),
|
| prefs->GetInteger(prefs::kWebKitDefaultFontSize));
|
| gfx::Size done_size = gfx::GetLocalizedContentsSizeForFont(
|
| IDS_CLOUD_PRINT_SETUP_WIZARD_DONE_WIDTH_CHARS,
|
|
|