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

Unified Diff: chrome/browser/extensions/active_tab_unittest.cc

Issue 10912156: Move SessionID, CaptureVisibleTabFunction to WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase atop the extension tab helper change 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 | « no previous file | chrome/browser/extensions/api/extension_action/script_badge_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/active_tab_unittest.cc
diff --git a/chrome/browser/extensions/active_tab_unittest.cc b/chrome/browser/extensions/active_tab_unittest.cc
index c38a8e2822ffa4b6da0c51f29ddf4684287485c8..cbbc43873857f76a10eff440725ac08a66d21163 100644
--- a/chrome/browser/extensions/active_tab_unittest.cc
+++ b/chrome/browser/extensions/active_tab_unittest.cc
@@ -63,7 +63,7 @@ class ActiveTabTest : public TabContentsTestHarness {
protected:
int tab_id() {
- return SessionID::IdForTab(tab_contents());
+ return SessionID::IdForTab(tab_contents()->web_contents());
}
ActiveTabPermissionManager* active_tab_permission_manager() {
« no previous file with comments | « no previous file | chrome/browser/extensions/api/extension_action/script_badge_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698