Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(428)

Unified Diff: chrome/browser/automation/automation_provider.cc

Issue 10409046: Migrate the rest of the "global" prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/browser_encoding_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_provider.cc
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index 7f5e7b19d09b6d852a3d2882801f18430e194a64..a8c246615a0ed7241138fc663ec450921dd9f6ec 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -674,8 +674,7 @@ void AutomationProvider::OnSetPageFontSize(int tab_handle,
DCHECK(tab->GetWebContents()->GetBrowserContext() != NULL);
Profile* profile = Profile::FromBrowserContext(
tab->GetWebContents()->GetBrowserContext());
- profile->GetPrefs()->SetInteger(
- prefs::kWebKitGlobalDefaultFontSize, font_size);
+ profile->GetPrefs()->SetInteger(prefs::kWebKitDefaultFontSize, font_size);
}
}
}
« no previous file with comments | « no previous file | chrome/browser/browser_encoding_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698