| Index: content/browser/indexed_db/indexed_db_context_impl.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_context_impl.cc b/content/browser/indexed_db/indexed_db_context_impl.cc
|
| index f045681a7c9a45ab19be85241d196e8fdcaf36d1..8905b43c4ed46db03001de17ade7e201187eb7cd 100644
|
| --- a/content/browser/indexed_db/indexed_db_context_impl.cc
|
| +++ b/content/browser/indexed_db/indexed_db_context_impl.cc
|
| @@ -103,7 +103,7 @@ IndexedDBContextImpl::IndexedDBContextImpl(
|
|
|
| WebIDBFactory* IndexedDBContextImpl::GetIDBFactory() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::WEBKIT_DEPRECATED));
|
| - if (!idb_factory_.get()) {
|
| + if (!idb_factory_) {
|
| // Prime our cache of origins with existing databases so we can
|
| // detect when dbs are newly created.
|
| GetOriginSet();
|
| @@ -367,7 +367,7 @@ void IndexedDBContextImpl::QueryAvailableQuota(const GURL& origin_url) {
|
| }
|
|
|
| std::set<GURL>* IndexedDBContextImpl::GetOriginSet() {
|
| - if (!origin_set_.get()) {
|
| + if (!origin_set_) {
|
| origin_set_.reset(new std::set<GURL>);
|
| std::vector<GURL> origins;
|
| GetAllOriginsAndPaths(data_path_, &origins, NULL);
|
|
|