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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc

Issue 9015022: Replace most of Browser::GetSelectedTabContents calls into Browser::GetSelectedWebContents. I've ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 12 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/printing/print_dialog_cloud_uitest.cc ('k') | chrome/browser/sessions/session_restore.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc (revision 116109)
+++ chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc (working copy)
@@ -35,7 +35,7 @@
using base::Histogram;
using base::StatisticsRecorder;
using content::BrowserThread;
-
+using content::WebContents;
using ::testing::_;
using ::testing::Mock;
using ::testing::StrictMock;
@@ -381,7 +381,7 @@
}
bool ShowingInterstitialPage() {
- TabContents* contents = browser()->GetSelectedTabContents();
+ WebContents* contents = browser()->GetSelectedWebContents();
InterstitialPage* interstitial_page = contents->GetInterstitialPage();
return interstitial_page != NULL;
}
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud_uitest.cc ('k') | chrome/browser/sessions/session_restore.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698