summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/ntp_resource_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/dom_ui/ntp_resource_cache.cc')
-rw-r--r--chrome/browser/dom_ui/ntp_resource_cache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/ntp_resource_cache.cc b/chrome/browser/dom_ui/ntp_resource_cache.cc
index 903f935..9e05662 100644
--- a/chrome/browser/dom_ui/ntp_resource_cache.cc
+++ b/chrome/browser/dom_ui/ntp_resource_cache.cc
@@ -142,7 +142,7 @@ NTPResourceCache::NTPResourceCache(Profile* profile) : profile_(profile) {
}
RefCountedBytes* NTPResourceCache::GetNewTabHTML(bool is_off_the_record) {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
if (is_off_the_record) {
if (!new_tab_incognito_html_.get())
CreateNewTabIncognitoHTML();
@@ -155,7 +155,7 @@ RefCountedBytes* NTPResourceCache::GetNewTabHTML(bool is_off_the_record) {
}
RefCountedBytes* NTPResourceCache::GetNewTabCSS(bool is_off_the_record) {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
if (is_off_the_record) {
if (!new_tab_incognito_css_.get())
CreateNewTabIncognitoCSS();