| Index: content/browser/dom_storage/dom_storage_context_impl_unittest.cc
|
| diff --git a/content/browser/dom_storage/dom_storage_context_impl_unittest.cc b/content/browser/dom_storage/dom_storage_context_impl_unittest.cc
|
| index d5ca90b741299f74b44c93225cb7a704045ab2d9..96f8d66245e813f6f02ec299aacb5eae27cbfb0f 100644
|
| --- a/content/browser/dom_storage/dom_storage_context_impl_unittest.cc
|
| +++ b/content/browser/dom_storage/dom_storage_context_impl_unittest.cc
|
| @@ -270,8 +270,8 @@ TEST_F(DOMStorageContextImplTest, DeleteSessionStorage) {
|
| }
|
|
|
| TEST_F(DOMStorageContextImplTest, PurgeMemory) {
|
| - auto dom_namespace = context_->GetStorageNamespace(kLocalStorageNamespaceId);
|
| - auto area1 = dom_namespace->OpenStorageArea(kOrigin);
|
| + auto* dom_namespace = context_->GetStorageNamespace(kLocalStorageNamespaceId);
|
| + auto* area1 = dom_namespace->OpenStorageArea(kOrigin);
|
| area1->InitialImportIfNeeded();
|
|
|
| // PURGE_UNOPENED does not delete the open area.
|
| @@ -287,7 +287,7 @@ TEST_F(DOMStorageContextImplTest, PurgeMemory) {
|
|
|
| // Add an item to the database and commit changes, and keep it open. So, cache
|
| // is kept alive.
|
| - auto area2 = dom_namespace->OpenStorageArea(kOrigin);
|
| + auto* area2 = dom_namespace->OpenStorageArea(kOrigin);
|
| base::NullableString16 old_value;
|
| area2->SetItem(kKey, kValue, &old_value);
|
| // Call commit directly instead of posting task.
|
|
|