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

Unified Diff: chrome/browser/ui/startup/obsolete_os_prompt_gtk.cc

Issue 10546098: TabContentsWrapper -> TabContents, part 46. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/startup/obsolete_os_prompt_gtk.cc
diff --git a/chrome/browser/ui/startup/obsolete_os_prompt_gtk.cc b/chrome/browser/ui/startup/obsolete_os_prompt_gtk.cc
index d2f3ea4fdb734faf9e11e108817c972eef4322b8..d0e979a084724a87cfd223ee00036a1e142ac4a8 100644
--- a/chrome/browser/ui/startup/obsolete_os_prompt_gtk.cc
+++ b/chrome/browser/ui/startup/obsolete_os_prompt_gtk.cc
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/gtk/gtk_util.h"
#include "chrome/browser/ui/startup/obsolete_os_info_bar.h"
-#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
+#include "chrome/browser/ui/tab_contents/tab_contents.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
@@ -30,7 +30,7 @@ void ShowObsoleteOSPrompt(Browser* browser) {
// Link to an article in the help center on minimum system requirements.
const char* kLearnMoreURL =
"http://www.google.com/support/chrome/bin/answer.py?answer=95411";
- TabContentsWrapper* tab = browser->GetSelectedTabContentsWrapper();
+ TabContents* tab = browser->GetActiveTabContents();
if (!tab)
return;
tab->infobar_tab_helper()->AddInfoBar(
« no previous file with comments | « chrome/browser/ui/startup/obsolete_os_info_bar.cc ('k') | chrome/browser/ui/startup/obsolete_os_prompt_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698