| Index: chrome/browser/net/sqlite_server_bound_cert_store.cc
|
| diff --git a/chrome/browser/net/sqlite_server_bound_cert_store.cc b/chrome/browser/net/sqlite_server_bound_cert_store.cc
|
| index 69dea95c36f4dd7e4b4f156e15ad7d6a6c2340b4..80943d7d7dbbb036b92f61fb09dce0ce4570af8f 100644
|
| --- a/chrome/browser/net/sqlite_server_bound_cert_store.cc
|
| +++ b/chrome/browser/net/sqlite_server_bound_cert_store.cc
|
| @@ -479,15 +479,6 @@ SQLiteServerBoundCertStore::SQLiteServerBoundCertStore(const FilePath& path)
|
| : backend_(new Backend(path)) {
|
| }
|
|
|
| -SQLiteServerBoundCertStore::~SQLiteServerBoundCertStore() {
|
| - if (backend_.get()) {
|
| - backend_->Close();
|
| - // Release our reference, it will probably still have a reference if the
|
| - // background thread has not run Close() yet.
|
| - backend_ = NULL;
|
| - }
|
| -}
|
| -
|
| bool SQLiteServerBoundCertStore::Load(
|
| std::vector<net::DefaultServerBoundCertStore::ServerBoundCert*>* certs) {
|
| return backend_->Load(certs);
|
| @@ -517,3 +508,12 @@ void SQLiteServerBoundCertStore::Flush(const base::Closure& completion_task) {
|
| else if (!completion_task.is_null())
|
| MessageLoop::current()->PostTask(FROM_HERE, completion_task);
|
| }
|
| +
|
| +SQLiteServerBoundCertStore::~SQLiteServerBoundCertStore() {
|
| + if (backend_.get()) {
|
| + backend_->Close();
|
| + // Release our reference, it will probably still have a reference if the
|
| + // background thread has not run Close() yet.
|
| + backend_ = NULL;
|
| + }
|
| +}
|
|
|