| Index: chrome/browser/chromeos/cros/cert_library.cc
|
| diff --git a/chrome/browser/chromeos/cros/cert_library.cc b/chrome/browser/chromeos/cros/cert_library.cc
|
| index f44c77632516ffc49168581827fecc9812e4af9b..4c4709cea4f77bd24673d7b11e9fada002a8e3ac 100644
|
| --- a/chrome/browser/chromeos/cros/cert_library.cc
|
| +++ b/chrome/browser/chromeos/cros/cert_library.cc
|
| @@ -81,11 +81,9 @@ class CertLibraryImpl
|
| }
|
|
|
| ~CertLibraryImpl() {
|
| - CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| - if (request_task_) {
|
| - request_task_->Cancel();
|
| - request_task_ = NULL;
|
| - }
|
| + // CertLibraryImpl is a singleton, so do not attempt to cleanup
|
| + // request_task_ on destruction.
|
| + DCHECK(request_task_ == NULL);
|
| net::CertDatabase::RemoveObserver(this);
|
| }
|
|
|
|
|