Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: content/renderer/browser_render_view_browsertest.cc

Issue 1312843012: Use DCHECK_CURRENTLY_ON in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert bad search/replace Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/tracing/tracing_controller_impl_data_sinks.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/browser_render_view_browsertest.cc
diff --git a/content/renderer/browser_render_view_browsertest.cc b/content/renderer/browser_render_view_browsertest.cc
index 328a4efe39815d5a789bc40b948541996dee15b7..f24b4a0ccd0296bc43f30bfb9d1033ecf732996c 100644
--- a/content/renderer/browser_render_view_browsertest.cc
+++ b/content/renderer/browser_render_view_browsertest.cc
@@ -79,7 +79,7 @@ class TestShellContentRendererClient : public ShellContentRendererClient {
// Must be called on IO thread.
void InterceptNetworkTransactions(net::URLRequestContextGetter* getter,
net::Error error) {
- DCHECK(content::BrowserThread::CurrentlyOn(BrowserThread::IO));
+ DCHECK_CURRENTLY_ON(BrowserThread::IO);
net::HttpCache* cache(
getter->GetURLRequestContext()->http_transaction_factory()->GetCache());
DCHECK(cache);
@@ -112,7 +112,7 @@ void BackendClearCache(scoped_ptr<disk_cache::Backend*> backend,
// completion of cache clearing on the UI thread.
void ClearCache(net::URLRequestContextGetter* getter,
const base::Closure& callback) {
- DCHECK(content::BrowserThread::CurrentlyOn(BrowserThread::IO));
+ DCHECK_CURRENTLY_ON(BrowserThread::IO);
net::HttpCache* cache(
getter->GetURLRequestContext()->http_transaction_factory()->GetCache());
DCHECK(cache);
« no previous file with comments | « content/browser/tracing/tracing_controller_impl_data_sinks.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698