Index: chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc |
diff --git a/chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc b/chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc |
index 7e87d7dfe768eabbcdc92bf55f9826d2eb0cf873..466a72766aec8524d1296146addd49291b9ef7f7 100644 |
--- a/chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc |
+++ b/chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc |
@@ -130,8 +130,8 @@ void CloudPrintSetupFlow::GetWebUIMessageHandlers( |
void CloudPrintSetupFlow::GetDialogSize(gfx::Size* size) const { |
PrefService* prefs = profile_->GetPrefs(); |
gfx::Font approximate_web_font( |
- prefs->GetString(prefs::kWebKitSansSerifFontFamily), |
- prefs->GetInteger(prefs::kWebKitDefaultFontSize)); |
+ prefs->GetString(prefs::kWebKitGlobalSansSerifFontFamily), |
+ prefs->GetInteger(prefs::kWebKitGlobalDefaultFontSize)); |
if (setup_done_) { |
*size = ui::GetLocalizedContentsSizeForFont( |
@@ -309,8 +309,8 @@ void CloudPrintSetupFlow::ShowSetupDone() { |
if (web_ui_) { |
PrefService* prefs = profile_->GetPrefs(); |
gfx::Font approximate_web_font( |
- prefs->GetString(prefs::kWebKitSansSerifFontFamily), |
- prefs->GetInteger(prefs::kWebKitDefaultFontSize)); |
+ prefs->GetString(prefs::kWebKitGlobalSansSerifFontFamily), |
+ prefs->GetInteger(prefs::kWebKitGlobalDefaultFontSize)); |
gfx::Size done_size = ui::GetLocalizedContentsSizeForFont( |
IDS_CLOUD_PRINT_SETUP_WIZARD_DONE_WIDTH_CHARS, |
IDS_CLOUD_PRINT_SETUP_WIZARD_DONE_HEIGHT_LINES, |