summaryrefslogtreecommitdiff
path: root/chromium/content/browser/renderer_host/code_cache_host_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/renderer_host/code_cache_host_impl.cc')
-rw-r--r--chromium/content/browser/renderer_host/code_cache_host_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/content/browser/renderer_host/code_cache_host_impl.cc b/chromium/content/browser/renderer_host/code_cache_host_impl.cc
index dac52c089cf..22d4b361eef 100644
--- a/chromium/content/browser/renderer_host/code_cache_host_impl.cc
+++ b/chromium/content/browser/renderer_host/code_cache_host_impl.cc
@@ -104,7 +104,7 @@ CodeCacheHostImpl::CodeCacheHostImpl(
generated_code_cache_context_(std::move(generated_code_cache_context)) {}
CodeCacheHostImpl::~CodeCacheHostImpl() {
- DCHECK_CURRENTLY_ON(BrowserThread::IO);
+ DCHECK_CURRENTLY_ON(BrowserThread::UI);
}
// static
@@ -131,7 +131,7 @@ void CodeCacheHostImpl::DidGenerateCacheableMetadata(
return;
}
- DCHECK_CURRENTLY_ON(BrowserThread::IO);
+ DCHECK_CURRENTLY_ON(BrowserThread::UI);
GeneratedCodeCache* code_cache = GetCodeCache(cache_type);
if (!code_cache)