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

Unified Diff: content/browser/loader/resource_handler.cc

Issue 2915313002: Replace deprecated base::NonThreadSafe in /content/browser/loader in favor of SequenceChecker. (Closed)
Patch Set: 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
« no previous file with comments | « content/browser/loader/resource_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_handler.cc
diff --git a/content/browser/loader/resource_handler.cc b/content/browser/loader/resource_handler.cc
index 961934d05e9f37a9f1315ae2a8862402894d5aa7..0f875512f6956706607e8ecc09a5ab9db9e8e125 100644
--- a/content/browser/loader/resource_handler.cc
+++ b/content/browser/loader/resource_handler.cc
@@ -16,7 +16,9 @@ void ResourceHandler::SetDelegate(Delegate* delegate) {
delegate_ = delegate;
}
-ResourceHandler::~ResourceHandler() {}
+ResourceHandler::~ResourceHandler() {
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
+}
ResourceHandler::ResourceHandler(net::URLRequest* request)
: request_(request) {}
« no previous file with comments | « content/browser/loader/resource_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698