| Index: chrome/browser/ui/webui/history_ui.cc
|
| diff --git a/chrome/browser/ui/webui/history_ui.cc b/chrome/browser/ui/webui/history_ui.cc
|
| index 19264a6ca917fefc49e6c79f157cdabee0c9311d..073c2f19dfe9a9c1dd4e8b12e4428852f8e9d682 100644
|
| --- a/chrome/browser/ui/webui/history_ui.cc
|
| +++ b/chrome/browser/ui/webui/history_ui.cc
|
| @@ -470,11 +470,10 @@ void BrowsingHistoryHandler::Observe(
|
| HistoryUI::HistoryUI(content::WebUI* web_ui) : WebUIController(web_ui) {
|
| web_ui->AddMessageHandler(new BrowsingHistoryHandler());
|
|
|
| - HistoryUIHTMLSource* html_source = new HistoryUIHTMLSource();
|
| -
|
| // Set up the chrome://history-frame/ source.
|
| - Profile* profile = Profile::FromWebUI(web_ui);
|
| - ChromeURLDataManager::AddDataSource(profile, html_source);
|
| + HistoryUIHTMLSource* html_source = new HistoryUIHTMLSource();
|
| + html_source->set_use_json_js_format_v2();
|
| + ChromeURLDataManager::AddDataSource(Profile::FromWebUI(web_ui), html_source);
|
| }
|
|
|
| // static
|
|
|