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

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: Fix browser_tests 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
Index: chrome/browser/automation/automation_provider.cc
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index e6ee1d1a295806f1347ab4c267fce7f755670e9c..08f085495f8433dae8006035a6b82162ba0dc936 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -726,7 +726,8 @@ void AutomationProvider::OnSetPageFontSize(int tab_handle,
DCHECK(tab->tab_contents()->browser_context() != NULL);
Profile* profile =
Profile::FromBrowserContext(tab->tab_contents()->browser_context());
- 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') | chrome/browser/net/chrome_url_request_context.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698