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

Unified Diff: chrome/browser/ui/panels/old_panel.cc

Issue 10536094: TabContentsWrapper -> TabContents, part 44. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 6 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/ui/panels/old_panel.cc
diff --git a/chrome/browser/ui/panels/old_panel.cc b/chrome/browser/ui/panels/old_panel.cc
index cb2a754c7ade99a331c2f8bc7cf2b122877d9fa5..bcb1f0af4b6f4b3a014d673ff646d2962a28abd4 100644
--- a/chrome/browser/ui/panels/old_panel.cc
+++ b/chrome/browser/ui/panels/old_panel.cc
@@ -39,7 +39,7 @@ void OldPanel::Initialize(const gfx::Rect& bounds, Browser* browser) {
}
content::WebContents* OldPanel::WebContents() const {
- return browser_->GetSelectedWebContents();
+ return browser_->GetActiveWebContents();
}
bool OldPanel::ShouldCloseWindow() {
« no previous file with comments | « chrome/browser/ui/panels/base_panel_browser_test.cc ('k') | chrome/browser/ui/panels/panel_browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698