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

Unified Diff: chrome/browser/automation/automation_tab_helper_unittest.cc

Issue 10963061: Switch AutomationTabHelper 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/automation/automation_tab_helper_unittest.cc
diff --git a/chrome/browser/automation/automation_tab_helper_unittest.cc b/chrome/browser/automation/automation_tab_helper_unittest.cc
index d30cf7919afdb369f041c052563c14d74c26b8e2..713c313d5a462f7b2693a9dab3d206a468582654 100644
--- a/chrome/browser/automation/automation_tab_helper_unittest.cc
+++ b/chrome/browser/automation/automation_tab_helper_unittest.cc
@@ -39,7 +39,7 @@ class AutomationTabHelperTest : public TabContentsTestHarness {
}
void TabContentsDestroyed() {
- tab_helper()->WebContentsDestroyed(tab_contents()->web_contents());
+ tab_helper()->WebContentsDestroyed(web_contents());
}
void WillPerformClientRedirect(int64 frame_id) {
@@ -51,7 +51,7 @@ class AutomationTabHelperTest : public TabContentsTestHarness {
}
AutomationTabHelper* tab_helper() {
- return tab_contents()->automation_tab_helper();
+ return AutomationTabHelper::FromWebContents(web_contents());
}
content::TestBrowserThread browser_thread_;

Powered by Google App Engine
This is Rietveld 408576698