Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: content/browser/dom_storage/dom_storage_context_impl_unittest.cc

Issue 2101943004: content: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase/update Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
« no previous file with comments | « content/browser/dom_storage/dom_storage_context_impl.cc ('k') | content/browser/dom_storage/session_storage_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698