| Index: chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.cc
|
| diff --git a/chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.cc b/chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.cc
|
| index e2dc781b8329f9ef226022628e91c2f2e5091622..2b113b1e66b51dd572e7469b8b291417128c131a 100644
|
| --- a/chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.cc
|
| +++ b/chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.cc
|
| @@ -15,7 +15,7 @@
|
| #include "base/values.h"
|
| #include "chrome/browser/chromeos/login/user_manager.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| -#include "chrome/browser/ui/browser_list.h"
|
| +#include "chrome/browser/ui/browser_finder.h"
|
| #include "chrome/browser/ui/browser_window.h"
|
| #include "chrome/browser/ui/webui/options2/chromeos/wallpaper_thumbnail_source2.h"
|
| #include "chrome/browser/ui/webui/web_ui_util.h"
|
| @@ -237,7 +237,7 @@ void SetWallpaperOptionsHandler::HandleRandomWallpaper(const ListValue* args) {
|
|
|
| gfx::NativeWindow SetWallpaperOptionsHandler::GetBrowserWindow() const {
|
| Browser* browser =
|
| - BrowserList::FindBrowserWithProfile(Profile::FromWebUI(web_ui()));
|
| + browser::FindBrowserWithProfile(Profile::FromWebUI(web_ui()));
|
| if (!browser)
|
| return NULL;
|
| return browser->window()->GetNativeHandle();
|
|
|