| Index: chrome/browser/ui/webui/crashes_ui.cc
|
| diff --git a/chrome/browser/ui/webui/crashes_ui.cc b/chrome/browser/ui/webui/crashes_ui.cc
|
| index f00eba51686775e8e1b507e4424c74963cc0a5f6..067aa4523b64ae7a79089f17d23a2435a4ee5446 100644
|
| --- a/chrome/browser/ui/webui/crashes_ui.cc
|
| +++ b/chrome/browser/ui/webui/crashes_ui.cc
|
| @@ -165,8 +165,7 @@ CrashesUI::CrashesUI(content::WebUI* web_ui) : WebUIController(web_ui) {
|
|
|
| // Set up the chrome://crashes/ source.
|
| Profile* profile = Profile::FromWebUI(web_ui);
|
| - profile->GetChromeURLDataManager()->AddDataSource(
|
| - CreateCrashesUIHTMLSource());
|
| + ChromeURLDataManager::AddDataSource(profile, CreateCrashesUIHTMLSource());
|
| }
|
|
|
| // static
|
|
|