| Index: chrome/browser/ui/webui/options/clear_browser_data_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/clear_browser_data_handler.cc b/chrome/browser/ui/webui/options/clear_browser_data_handler.cc
|
| index 28b62c43479932a4b8151f293352ea15dc3f654c..5374031fc0a4a73636e957d88ac7b4b4602125df 100644
|
| --- a/chrome/browser/ui/webui/options/clear_browser_data_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/clear_browser_data_handler.cc
|
| @@ -90,7 +90,7 @@ void ClearBrowserDataHandler::RegisterMessages() {
|
| }
|
|
|
| void ClearBrowserDataHandler::HandleClearBrowserData(const ListValue* value) {
|
| - Profile* profile = web_ui_->GetProfile();
|
| + Profile* profile = Profile::FromWebUI(web_ui_);
|
| PrefService* prefs = profile->GetPrefs();
|
|
|
| int remove_mask = 0;
|
|
|