| Index: chrome/browser/ui/webui/help/help_ui.cc
|
| diff --git a/chrome/browser/ui/webui/help/help_ui.cc b/chrome/browser/ui/webui/help/help_ui.cc
|
| index 94cb33d04f77f7ea8db3af8a558da10b49517c7d..274110e360221fb6c0f70e4711f37ef33a9285f7 100644
|
| --- a/chrome/browser/ui/webui/help/help_ui.cc
|
| +++ b/chrome/browser/ui/webui/help/help_ui.cc
|
| @@ -6,7 +6,7 @@
|
|
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/webui/help/help_handler.h"
|
| -#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
|
| +#include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h"
|
| #include "chrome/browser/ui/webui/chrome_web_ui_data_source.h"
|
| #include "chrome/browser/ui/webui/shared_resources_data_source.h"
|
| #include "chrome/common/url_constants.h"
|
| @@ -32,9 +32,9 @@ HelpUI::HelpUI(content::WebUI* web_ui)
|
| : WebUIController(web_ui) {
|
| Profile* profile = Profile::FromWebUI(web_ui);
|
| ChromeWebUIDataSource* source = CreateAboutPageHTMLSource();
|
| - profile->GetChromeURLDataManager()->AddDataSource(source);
|
| - profile->GetChromeURLDataManager()->AddDataSource(
|
| - new SharedResourcesDataSource());
|
| + ChromeURLDataManagerFactory::GetForProfile(profile)->AddDataSource(source);
|
| + ChromeURLDataManagerFactory::GetForProfile(profile)->
|
| + AddDataSource(new SharedResourcesDataSource());
|
|
|
| HelpHandler* handler = new HelpHandler();
|
| handler->GetLocalizedValues(source->localized_strings());
|
|
|