| Index: chrome/browser/accessibility/accessibility_extension_api.cc
|
| diff --git a/chrome/browser/accessibility/accessibility_extension_api.cc b/chrome/browser/accessibility/accessibility_extension_api.cc
|
| index d33d48245f605d042f8f2157e59544ec237a3ab3..675fc4a6769e3c661d0747f2755ae2d36b52ad4b 100644
|
| --- a/chrome/browser/accessibility/accessibility_extension_api.cc
|
| +++ b/chrome/browser/accessibility/accessibility_extension_api.cc
|
| @@ -15,7 +15,6 @@
|
| #include "chrome/browser/extensions/extension_tab_util.h"
|
| #include "chrome/browser/infobars/infobar_tab_helper.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| -#include "chrome/browser/ui/tab_contents/tab_contents.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/extensions/extension_error_utils.h"
|
| #include "content/public/browser/notification_service.h"
|
| @@ -197,7 +196,7 @@ bool GetAlertsForTabFunction::RunImpl() {
|
| EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &tab_id));
|
|
|
| TabStripModel* tab_strip = NULL;
|
| - TabContents* contents = NULL;
|
| + content::WebContents* contents = NULL;
|
| int tab_index = -1;
|
| if (!ExtensionTabUtil::GetTabById(tab_id, profile(), include_incognito(),
|
| NULL, &tab_strip, &contents, &tab_index)) {
|
| @@ -210,7 +209,7 @@ bool GetAlertsForTabFunction::RunImpl() {
|
| ListValue* alerts_value = new ListValue;
|
|
|
| InfoBarTabHelper* infobar_helper =
|
| - InfoBarTabHelper::FromWebContents(contents->web_contents());
|
| + InfoBarTabHelper::FromWebContents(contents);
|
| for (size_t i = 0; i < infobar_helper->GetInfoBarCount(); ++i) {
|
| // TODO(hashimoto): Make other kind of alerts available. crosbug.com/24281
|
| InfoBarDelegate* infobar_delegate = infobar_helper->GetInfoBarDelegateAt(i);
|
|
|