| Index: chrome/browser/ui/views/ash/panel_view_aura.cc
|
| diff --git a/chrome/browser/ui/views/ash/panel_view_aura.cc b/chrome/browser/ui/views/ash/panel_view_aura.cc
|
| index 6f25443f1af31e1be6f29ab7737000b09fe09afc..7f7028f98fd1449ac5840250becd5bfd8978e78f 100644
|
| --- a/chrome/browser/ui/views/ash/panel_view_aura.cc
|
| +++ b/chrome/browser/ui/views/ash/panel_view_aura.cc
|
| @@ -14,7 +14,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/sessions/session_id.h"
|
| #include "chrome/browser/ui/browser.h"
|
| -#include "chrome/browser/ui/browser_list.h"
|
| +#include "chrome/browser/ui/browser_finder.h"
|
| #include "chrome/common/chrome_view_type.h"
|
| #include "chrome/common/extensions/extension_messages.h"
|
| #include "content/public/browser/site_instance.h"
|
| @@ -140,7 +140,7 @@ void PanelHost::AddNewContents(content::WebContents* source,
|
| WindowOpenDisposition disposition,
|
| const gfx::Rect& initial_pos,
|
| bool user_gesture) {
|
| - Browser* browser = BrowserList::GetLastActiveWithProfile(
|
| + Browser* browser = browser::FindLastActiveWithProfile(
|
| Profile::FromBrowserContext(new_contents->GetBrowserContext()));
|
| if (!browser)
|
| return;
|
|
|