| Index: chrome/browser/ui/webui/sync_internals_ui.cc
|
| diff --git a/chrome/browser/ui/webui/sync_internals_ui.cc b/chrome/browser/ui/webui/sync_internals_ui.cc
|
| index 2aeaadb8905dbb50380bdbff6a7cc7bfb2991c6e..2922a4a7bbce1b4267855776a4bf447d09f1a091 100644
|
| --- a/chrome/browser/ui/webui/sync_internals_ui.cc
|
| +++ b/chrome/browser/ui/webui/sync_internals_ui.cc
|
| @@ -82,8 +82,7 @@ SyncInternalsUI::SyncInternalsUI(content::WebUI* web_ui)
|
| weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
|
| // TODO(akalin): Fix.
|
| Profile* profile = Profile::FromWebUI(web_ui);
|
| - profile->GetChromeURLDataManager()->AddDataSource(
|
| - CreateSyncInternalsHTMLSource());
|
| + ChromeURLDataManager::AddDataSource(profile, CreateSyncInternalsHTMLSource());
|
| ProfileSyncService* sync_service = GetProfileSyncService(profile);
|
| if (sync_service) {
|
| js_controller_ = sync_service->GetJsController();
|
|
|