| Index: chrome/browser/extensions/extension_function.cc
|
| diff --git a/chrome/browser/extensions/extension_function.cc b/chrome/browser/extensions/extension_function.cc
|
| index e21ff3b71967ec5fe4d88a739356860be289a70a..f42910a795542a72229d4421d13608e5f5c0a4da 100644
|
| --- a/chrome/browser/extensions/extension_function.cc
|
| +++ b/chrome/browser/extensions/extension_function.cc
|
| @@ -12,7 +12,7 @@
|
| #include "chrome/browser/extensions/extension_window_list.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/renderer_host/chrome_render_message_filter.h"
|
| -#include "chrome/browser/ui/browser_list.h"
|
| +#include "chrome/browser/ui/browser_finder.h"
|
| #include "chrome/common/extensions/extension_messages.h"
|
| #include "content/public/browser/notification_source.h"
|
| #include "content/public/browser/notification_types.h"
|
| @@ -200,7 +200,7 @@ Browser* UIThreadExtensionFunction::GetCurrentBrowser() {
|
| // |include_incognito|.
|
| Profile* profile = Profile::FromBrowserContext(
|
| render_view_host_->GetProcess()->GetBrowserContext());
|
| - Browser* browser = BrowserList::FindAnyBrowser(profile, include_incognito_);
|
| + Browser* browser = browser::FindAnyBrowser(profile, include_incognito_);
|
|
|
| // NOTE(rafaelw): This can return NULL in some circumstances. In particular,
|
| // a background_page onload chrome.tabs api call can make it into here
|
|
|