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

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

Issue 10909282: Switch SnapshotTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « chrome/browser/ui/tab_contents/tab_contents.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b31c44560e490675fa6c2a908e73ded6ed0a9c34..6ab0b592f2c4978b1629f622bb5e8abe9e01a11d 100644
--- a/chrome/browser/ui/tab_contents/tab_contents.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents.cc
@@ -155,7 +155,7 @@ TabContents::TabContents(WebContents* contents)
chrome::search::IsInstantExtendedAPIEnabled(profile());
search_tab_helper_.reset(
new chrome::search::SearchTabHelper(this, is_search_enabled));
- snapshot_tab_helper_.reset(new SnapshotTabHelper(contents));
+ SnapshotTabHelper::CreateForWebContents(contents);
ssl_helper_.reset(new TabContentsSSLHelper(this));
synced_tab_delegate_.reset(new TabContentsSyncedTabDelegate(this));
content_settings_.reset(new TabSpecificContentSettings(contents));
« no previous file with comments | « chrome/browser/ui/tab_contents/tab_contents.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698