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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 393133002: Migrate HostZoomMap to live in StoragePartition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests. Created 6 years, 1 month 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/ui/webui/options/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index f7dd8c940248184b07abc3ccf5c81eb7b82233da..2bb74f1cc1d4729a5aab12946156912df8b9c7ca 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -1538,6 +1538,7 @@ void BrowserOptionsHandler::HandleDefaultZoomFactor(
const base::ListValue* args) {
double zoom_factor;
if (ExtractDoubleValue(args, &zoom_factor)) {
+ // TODO9wjmaclean) Verify this is still correct.
Fady Samuel 2014/11/03 18:57:45 typo
wjmaclean 2014/11/03 21:53:59 Done. Removed Todo.
Profile::FromWebUI(web_ui())->GetZoomLevelPrefs()->SetDefaultZoomLevelPref(
content::ZoomFactorToZoomLevel(zoom_factor));
}

Powered by Google App Engine
This is Rietveld 408576698