| Index: chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc
|
| diff --git a/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc b/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc
|
| index 22f2739770f5a60f264aaa5d33dd66bb14fa4049..cb72b9dd3e98e3b3abd9aed0ae5822775c632edb 100644
|
| --- a/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc
|
| +++ b/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc
|
| @@ -17,7 +17,7 @@
|
| #include "chrome/browser/chromeos/cros/network_library.h"
|
| #include "chrome/browser/chromeos/sim_dialog_delegate.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| -#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
|
| +#include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/jstemplate_builder.h"
|
| #include "chrome/common/url_constants.h"
|
| @@ -670,7 +670,8 @@ SimUnlockUI::SimUnlockUI(content::WebUI* web_ui) : WebUIController(web_ui) {
|
|
|
| // Set up the chrome://sim-unlock/ source.
|
| Profile* profile = Profile::FromWebUI(web_ui);
|
| - profile->GetChromeURLDataManager()->AddDataSource(html_source);
|
| + ChromeURLDataManagerFactory::GetForProfile(profile)->
|
| + AddDataSource(html_source);
|
| }
|
|
|
| } // namespace chromeos
|
|
|