| 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..f95070e94a7c940ef00a45eda1aeb719ad3e729a 100644
|
| --- a/chrome/browser/ui/webui/sync_internals_ui.cc
|
| +++ b/chrome/browser/ui/webui/sync_internals_ui.cc
|
| @@ -16,7 +16,7 @@
|
| #include "chrome/browser/sync/profile_sync_service_factory.h"
|
| #include "chrome/browser/sync/sync_ui_util.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.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/common/extensions/extension_messages.h"
|
| #include "chrome/common/url_constants.h"
|
| @@ -82,8 +82,8 @@ 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());
|
| + ChromeURLDataManagerFactory::GetForProfile(profile)->
|
| + AddDataSource(CreateSyncInternalsHTMLSource());
|
| ProfileSyncService* sync_service = GetProfileSyncService(profile);
|
| if (sync_service) {
|
| js_controller_ = sync_service->GetJsController();
|
|
|