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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents.cc

Issue 10959054: Switch ZoomTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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/tab_contents/tab_contents.cc
diff --git a/chrome/browser/ui/tab_contents/tab_contents.cc b/chrome/browser/ui/tab_contents/tab_contents.cc
index 9b90ffd541b8f06eeb2c6cb5027a6dd3d30c3c59..a58ab3f66ff0d290739729d50b37f8d4074321c5 100644
--- a/chrome/browser/ui/tab_contents/tab_contents.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents.cc
@@ -150,7 +150,7 @@ TabContents::TabContents(WebContents* contents)
SSLTabHelper::CreateForWebContents(contents);
synced_tab_delegate_.reset(new TabContentsSyncedTabDelegate(this));
translate_tab_helper_.reset(new TranslateTabHelper(contents));
- zoom_controller_.reset(new ZoomController(this));
+ ZoomController::CreateForWebContents(contents);
#if defined(ENABLE_AUTOMATION)
automation_tab_helper_.reset(new AutomationTabHelper(contents));
« no previous file with comments | « chrome/browser/ui/tab_contents/tab_contents.h ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698