| Index: chrome/browser/ui/startup/obsolete_os_prompt_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/ui/startup/obsolete_os_prompt_gtk.cc (revision 145001)
|
| +++ chrome/browser/ui/startup/obsolete_os_prompt_gtk.cc (working copy)
|
| @@ -7,6 +7,7 @@
|
| #include "base/logging.h"
|
| #include "chrome/browser/infobars/infobar_tab_helper.h"
|
| #include "chrome/browser/ui/browser.h"
|
| +#include "chrome/browser/ui/browser_tabstrip.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.h"
|
| @@ -30,7 +31,7 @@
|
| // 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";
|
| - TabContents* tab = browser->GetActiveTabContents();
|
| + TabContents* tab = chrome::GetActiveTabContents(browser);
|
| if (!tab)
|
| return;
|
| tab->infobar_tab_helper()->AddInfoBar(
|
|
|