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

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

Issue 8879016: Add more per-tab preferences. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CHECK -> DCHECK Created 9 years 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_uitest.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 8340316298f80ffeebcbd00dce891ae42cc08631..cb0e2ddb22d95f779fd149db3d0a16385587f362 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -730,7 +730,8 @@ void AutomationProvider::OnSetPageFontSize(int tab_handle,
DCHECK(tab->tab_contents()->GetBrowserContext() != NULL);
Profile* profile =
Profile::FromBrowserContext(tab->tab_contents()->GetBrowserContext());
- profile->GetPrefs()->SetInteger(prefs::kWebKitDefaultFontSize, font_size);
+ profile->GetPrefs()->SetInteger(
+ prefs::kWebKitGlobalDefaultFontSize, font_size);
}
}
}
« no previous file with comments | « no previous file | chrome/browser/browser_encoding_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698