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

Unified Diff: chrome/browser/custom_handlers/protocol_handler_registry.cc

Issue 2910473005: Deprecate NonThreadSafe in net/ in favor of SequenceChecker/ThreadChecker. (Closed)
Patch Set: another compile nit 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 | « no previous file | components/drive/service/drive_api_service.h » ('j') | net/base/network_change_notifier_win.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/custom_handlers/protocol_handler_registry.cc
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc
index 8bde36a1273b6ddea473bb0d1880454ac006c199..3ba5bb8df1bc50ae53b611390fa485db8f49d0de 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
@@ -169,7 +169,7 @@ ProtocolHandlerRegistry::JobInterceptorFactory::JobInterceptorFactory(
IOThreadDelegate* io_thread_delegate)
: io_thread_delegate_(io_thread_delegate) {
DCHECK(io_thread_delegate_.get());
- DetachFromThread();
+ DETACH_FROM_SEQUENCE(sequence_checker_);
}
ProtocolHandlerRegistry::JobInterceptorFactory::~JobInterceptorFactory() {
« no previous file with comments | « no previous file | components/drive/service/drive_api_service.h » ('j') | net/base/network_change_notifier_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698