Incorrect usage of ThreadChecker in content/browser/loader/netlog_observer.cc |
||||
Issue descriptionThreadChecker::CalledOnValidThread() always returns true in non-DCHECK builds https://chromium.googlesource.com/chromium/src/+/d9a4e3e3f860fb848ce36deea29f0d685c6d81c6/base/threading/thread_checker.h#82 It is incorrect to use it in an if statement https://chromium.googlesource.com/chromium/src/+/d9a4e3e3f860fb848ce36deea29f0d685c6d81c6/content/browser/loader/netlog_observer.cc#50 To determine whether something runs on the IO thread, use BrowserThread::CurrentlyOn(BrowserThread::IO).
,
Jun 22 2017
,
Jun 22 2017
To ananta who added this code, explicitly to remove browser thread IDs from it :)
,
Sep 21 2017
NetLogObserver is gone for a while. |
||||
►
Sign in to add a comment |
||||
Comment 1 by fdoray@chromium.org
, Jun 22 2017