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

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: Removed "migration done" preference 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 8bd9c555780f2eb6fa31eeb89dcda9e601f52c02..2b5859a26e3a5b6d1ef0caac66875a1c68119263 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -729,7 +729,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/prefs/per_tab_user_pref_store.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698