| Index: net/cert/cert_database_mac.cc
|
| diff --git a/net/cert/cert_database_mac.cc b/net/cert/cert_database_mac.cc
|
| index 98f8dc9e1a1a51a6250d6e0f3086826266d3248b..bc266c3b8af027cf4f265c92347762008918be32 100644
|
| --- a/net/cert/cert_database_mac.cc
|
| +++ b/net/cert/cert_database_mac.cc
|
| @@ -39,12 +39,12 @@ class CertDatabase::Notifier {
|
| base::Unretained(this)));
|
| }
|
|
|
| - // Should be called from the |task_runner_|'s thread. Use Shutdown()
|
| - // to shutdown on arbitrary threads.
|
| + // Should be called from the |task_runner_|'s sequence. Use Shutdown()
|
| + // to shutdown on arbitrary sequence.
|
| ~Notifier() {
|
| DCHECK(called_shutdown_);
|
| - // Only unregister from the same thread where registration was performed.
|
| - if (registered_ && task_runner_->RunsTasksOnCurrentThread())
|
| + // Only unregister from the same sequence where registration was performed.
|
| + if (registered_ && task_runner_->RunsTasksInCurrentSequence())
|
| SecKeychainRemoveCallback(&Notifier::KeychainCallback);
|
| }
|
|
|
|
|