| Index: chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.cc b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| index 4ba1c7845f2c269269593baef30a28f503fd6473..405a4717ab8e85c2acd0de1d929080b56d804e5f 100644
|
| --- a/chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| +++ b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| @@ -315,7 +315,7 @@ std::string NewTabUI::NewTabHTMLSource::GetSource() {
|
|
|
| void NewTabUI::NewTabHTMLSource::StartDataRequest(
|
| const std::string& path,
|
| - bool is_incognito,
|
| + const content::URLDataSource::ExtraRequestInfo& info,
|
| const content::URLDataSource::GotDataCallback& callback) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
|
|
| @@ -347,7 +347,7 @@ void NewTabUI::NewTabHTMLSource::StartDataRequest(
|
|
|
| scoped_refptr<base::RefCountedMemory> html_bytes(
|
| NTPResourceCacheFactory::GetForProfile(profile_)->
|
| - GetNewTabHTML(is_incognito));
|
| + GetNewTabHTML(info.is_incognito));
|
|
|
| callback.Run(html_bytes);
|
| }
|
|
|