Index: chrome/browser/ui/zoom/zoom_controller_browsertest.cc |
diff --git a/chrome/browser/ui/zoom/zoom_controller_browsertest.cc b/chrome/browser/ui/zoom/zoom_controller_browsertest.cc |
index 1fcd782a8a3f551f2c4b6447bb55041b1e4f7250..9f644de2da8d6349d4c0eae13cc494584e01c98e 100644 |
--- a/chrome/browser/ui/zoom/zoom_controller_browsertest.cc |
+++ b/chrome/browser/ui/zoom/zoom_controller_browsertest.cc |
@@ -105,8 +105,8 @@ IN_PROC_BROWSER_TEST_F(ZoomControllerBrowserTest, OnPreferenceChanged) { |
ZoomChangedWatcher zoom_change_watcher(web_contents, zoom_change_data); |
// TODO(wjmaclean): Convert this to call partition-specific zoom level prefs |
// when they become available. |
- browser()->profile()->GetPrefs()->SetDouble(prefs::kDefaultZoomLevel, |
- new_default_zoom_level); |
+ browser()->profile()->GetZoomLevelPrefs()->SetDouble(prefs::kDefaultZoomLevel, |
+ new_default_zoom_level); |
// Because this test relies on a round-trip IPC to/from the renderer process, |
// we need to wait for it to propagate. |
zoom_change_watcher.Wait(); |