| Index: chrome/browser/ui/webui/history_ui.cc
|
| diff --git a/chrome/browser/ui/webui/history_ui.cc b/chrome/browser/ui/webui/history_ui.cc
|
| index 5c6adce921c49ea5b42bc53456abbd809e613aa6..1f3c0fa48b0d0cd73bb307343425a3e68e402235 100644
|
| --- a/chrome/browser/ui/webui/history_ui.cc
|
| +++ b/chrome/browser/ui/webui/history_ui.cc
|
| @@ -24,7 +24,7 @@
|
| #include "chrome/browser/history/history_types.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/browser.h"
|
| -#include "chrome/browser/ui/browser_list.h"
|
| +#include "chrome/browser/ui/browser_finder.h"
|
| #include "chrome/browser/ui/webui/chrome_url_data_manager.h"
|
| #include "chrome/browser/ui/webui/chrome_web_ui_data_source.h"
|
| #include "chrome/browser/ui/webui/favicon_source.h"
|
| @@ -286,7 +286,7 @@ void BrowsingHistoryHandler::HandleClearBrowsingData(const ListValue* args) {
|
| // TODO(beng): This is an improper direct dependency on Browser. Route this
|
| // through some sort of delegate.
|
| Profile* profile = Profile::FromWebUI(web_ui());
|
| - Browser* browser = BrowserList::FindBrowserWithProfile(profile);
|
| + Browser* browser = browser::FindBrowserWithProfile(profile);
|
| if (browser)
|
| browser->OpenClearBrowsingDataDialog();
|
| #endif
|
|
|