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

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: err 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..6ba845576cb06052dfa11677a5f5c1daf596588b 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
blundell 2013/11/05 16:35:06 API
Nico 2013/11/05 16:37:28 Done.
+ // 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