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

Unified Diff: chrome/browser/ui/views/toolbar/wrench_menu.cc

Issue 393133002: Migrate HostZoomMap to live in StoragePartition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 6 years, 4 months 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/views/toolbar/wrench_menu.cc
diff --git a/chrome/browser/ui/views/toolbar/wrench_menu.cc b/chrome/browser/ui/views/toolbar/wrench_menu.cc
index 5f7d0d6b4efb60df118fdc4a46c095b51a01d811..165e398456e1d61df87a485152719913124095f9 100644
--- a/chrome/browser/ui/views/toolbar/wrench_menu.cc
+++ b/chrome/browser/ui/views/toolbar/wrench_menu.cc
@@ -496,7 +496,7 @@ class WrenchMenu::ZoomView : public WrenchMenuView {
decrement_button_(NULL),
fullscreen_button_(NULL),
zoom_label_width_(0) {
- content_zoom_subscription_ = HostZoomMap::GetForBrowserContext(
+ content_zoom_subscription_ = content::HostZoomMap::GetForBrowserContext(
menu->browser_->profile())->AddZoomLevelChangedCallback(
base::Bind(&WrenchMenu::ZoomView::OnZoomLevelChanged,
base::Unretained(this)));

Powered by Google App Engine
This is Rietveld 408576698