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

Unified Diff: net/ocsp/nss_ocsp.cc

Issue 58833006: net_ocsp: Explicitly ignore result of CalledOnValidThread(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ocsp/nss_ocsp.cc
diff --git a/net/ocsp/nss_ocsp.cc b/net/ocsp/nss_ocsp.cc
index d83b239f8c59e6157ded51ec8c67adbcf742b460..4a4b8f670aef5c78579a3fdffb4780130127da9e 100644
--- a/net/ocsp/nss_ocsp.cc
+++ b/net/ocsp/nss_ocsp.cc
@@ -88,7 +88,10 @@ class OCSPIOLoop {
base::AutoLock autolock(lock_);
DCHECK(base::MessageLoopForIO::current());
thread_checker_.DetachFromThread();
- thread_checker_.CalledOnValidThread();
+
+ // CalledOnValidThread is the only available API to reassociate
+ // thread_checker_ with the current thread. Result ignored intentionally.
+ ignore_result(thread_checker_.CalledOnValidThread());
shutdown_ = false;
used_ = false;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698