Index: chrome/browser/ui/toolbar/wrench_menu_model.cc |
diff --git a/chrome/browser/ui/toolbar/wrench_menu_model.cc b/chrome/browser/ui/toolbar/wrench_menu_model.cc |
index cedb29767146d6c5ce194e2507186d567665edef..4d9987a98e1945a9ea69243c30615c9727886507 100644 |
--- a/chrome/browser/ui/toolbar/wrench_menu_model.cc |
+++ b/chrome/browser/ui/toolbar/wrench_menu_model.cc |
@@ -282,6 +282,9 @@ WrenchMenuModel::WrenchMenuModel(ui::AcceleratorProvider* provider, |
Build(); |
UpdateZoomControls(); |
+ // By asking for the HostZoomMap via the BrowserContext, we get the map |
+ // associated with the default storage partition, and not the one related |
+ // to any specialized storage partitions, e.g. those used by WebViewGuests. |
content_zoom_subscription_ = |
content::HostZoomMap::GetDefaultForBrowserContext(browser->profile()) |
->AddZoomLevelChangedCallback(base::Bind( |