summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/new_tab_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/webui/new_tab_ui.cc')
-rw-r--r--chrome/browser/ui/webui/new_tab_ui.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/new_tab_ui.cc b/chrome/browser/ui/webui/new_tab_ui.cc
index a3e9585..7ecdcc8 100644
--- a/chrome/browser/ui/webui/new_tab_ui.cc
+++ b/chrome/browser/ui/webui/new_tab_ui.cc
@@ -570,7 +570,7 @@ NewTabUI::NewTabHTMLSource::NewTabHTMLSource(Profile* profile)
}
void NewTabUI::NewTabHTMLSource::StartDataRequest(const std::string& path,
- bool is_off_the_record,
+ bool is_incognito,
int request_id) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
@@ -584,7 +584,7 @@ void NewTabUI::NewTabHTMLSource::StartDataRequest(const std::string& path,
}
scoped_refptr<RefCountedBytes> html_bytes(
- profile_->GetNTPResourceCache()->GetNewTabHTML(is_off_the_record));
+ profile_->GetNTPResourceCache()->GetNewTabHTML(is_incognito));
SendResponse(request_id, html_bytes);
}