| Index: chrome/browser/ui/webui/sessions_ui.cc
|
| diff --git a/chrome/browser/ui/webui/sessions_ui.cc b/chrome/browser/ui/webui/sessions_ui.cc
|
| index 352411b824d509131c46b7aa836eeae4e48bc67e..d4424a0cdab7f95200502bfb3ce88866c8465d7e 100644
|
| --- a/chrome/browser/ui/webui/sessions_ui.cc
|
| +++ b/chrome/browser/ui/webui/sessions_ui.cc
|
| @@ -264,8 +264,7 @@ SessionsUI::SessionsUI(content::WebUI* web_ui) : WebUIController(web_ui) {
|
|
|
| // Set up the chrome://sessions/ source.
|
| Profile* profile = Profile::FromWebUI(web_ui);
|
| - profile->GetChromeURLDataManager()->AddDataSource(
|
| - CreateSessionsUIHTMLSource());
|
| + ChromeURLDataManager::AddDataSource(profile, CreateSessionsUIHTMLSource());
|
| }
|
|
|
| // static
|
|
|