summaryrefslogtreecommitdiffstats
path: root/chrome/browser/aeropeek_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/aeropeek_manager.cc')
-rw-r--r--chrome/browser/aeropeek_manager.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/aeropeek_manager.cc b/chrome/browser/aeropeek_manager.cc
index 94d9fd7..367ca55 100644
--- a/chrome/browser/aeropeek_manager.cc
+++ b/chrome/browser/aeropeek_manager.cc
@@ -43,6 +43,7 @@
#pragma comment(lib, "dwmapi.lib")
using content::BrowserThread;
+using content::WebContents;
namespace {
@@ -947,7 +948,7 @@ void AeroPeekManager::ActivateTab(int tab_id) {
// Ask TabStrip to activate this tab.
// We don't have to update thumbnails now since TabStrip will call
// ActiveTabChanged() when it actually activates this tab.
- TabContents* contents = GetTabContents(tab_id);
+ WebContents* contents = GetTabContents(tab_id);
if (contents && contents->GetDelegate())
contents->GetDelegate()->ActivateContents(contents);
}