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

Unified Diff: components/precache/core/precache_session_table_unittest.cc

Issue 2110663002: components: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+one fix 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: components/precache/core/precache_session_table_unittest.cc
diff --git a/components/precache/core/precache_session_table_unittest.cc b/components/precache/core/precache_session_table_unittest.cc
index c0d37d502730e7523d430121f2d58e97e72e934b..ed4fcc5477dc5dbba7d75390eb930ee79c88f9cd 100644
--- a/components/precache/core/precache_session_table_unittest.cc
+++ b/components/precache/core/precache_session_table_unittest.cc
@@ -36,7 +36,7 @@ TEST_F(PrecacheSessionTableTest, SaveAndGetUnfinishedWork) {
new PrecacheUnfinishedWork());
unfinished_work->add_top_host()->set_hostname("foo.com");
unfinished_work->add_top_host()->set_hostname("bar.com");
- auto s = unfinished_work->mutable_config_settings();
+ auto* s = unfinished_work->mutable_config_settings();
s->set_top_sites_count(11);
s->add_forced_site("baz.com");
s->set_top_resources_count(12);

Powered by Google App Engine
This is Rietveld 408576698