| Index: chrome/browser/ui/webui/keyboard_ui.cc
|
| diff --git a/chrome/browser/ui/webui/keyboard_ui.cc b/chrome/browser/ui/webui/keyboard_ui.cc
|
| index f2a77e7275abcd253114c8aea91e9293a46c2ea7..388ae37567dcd140fc79f01614831c647faa4005 100644
|
| --- a/chrome/browser/ui/webui/keyboard_ui.cc
|
| +++ b/chrome/browser/ui/webui/keyboard_ui.cc
|
| @@ -9,7 +9,7 @@
|
| #include "base/message_loop.h"
|
| #include "base/string_piece.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/url_constants.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_ui.h"
|
| @@ -24,7 +24,8 @@ KeyboardUI::KeyboardUI(content::WebUI* web_ui)
|
| : WebUIController(web_ui) {
|
| KeyboardHTMLSource* html_source = new KeyboardHTMLSource();
|
| Profile* profile = Profile::FromWebUI(web_ui);
|
| - profile->GetChromeURLDataManager()->AddDataSource(html_source);
|
| + ChromeURLDataManagerFactory::GetForProfile(profile)->
|
| + AddDataSource(html_source);
|
| }
|
|
|
| KeyboardUI::~KeyboardUI() {
|
|
|