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

Unified Diff: net/url_request/url_request_context.cc

Issue 2910473005: Deprecate NonThreadSafe in net/ in favor of SequenceChecker/ThreadChecker. (Closed)
Patch Set: Fix chromecast compile Created 3 years, 7 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
Index: net/url_request/url_request_context.cc
diff --git a/net/url_request/url_request_context.cc b/net/url_request/url_request_context.cc
index 1de1aa7922a69baf2f9d74445513dc52a3538a1f..53ba4338d1a5ce16c78babb3647dc43e35af06e6 100644
--- a/net/url_request/url_request_context.cc
+++ b/net/url_request/url_request_context.cc
@@ -58,6 +58,7 @@ URLRequestContext::URLRequestContext()
}
URLRequestContext::~URLRequestContext() {
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
AssertNoURLRequests();
base::trace_event::MemoryDumpManager::GetInstance()->UnregisterDumpProvider(
this);

Powered by Google App Engine
This is Rietveld 408576698