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

Unified Diff: components/precache/core/precache_fetcher_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_fetcher_unittest.cc
diff --git a/components/precache/core/precache_fetcher_unittest.cc b/components/precache/core/precache_fetcher_unittest.cc
index 5e6640eed0f7f7facfe05d2a60f0764207e103bf..708476671a358989d686d2b94f30793d983c9790 100644
--- a/components/precache/core/precache_fetcher_unittest.cc
+++ b/components/precache/core/precache_fetcher_unittest.cc
@@ -173,7 +173,7 @@ class MockURLFetcherFactory : public net::URLFetcherFactory {
const GURL&,
net::URLFetcher::RequestType,
net::URLFetcherDelegate*>& args) {
- auto fetcher = new net::FakeURLFetcher(
+ auto* fetcher = new net::FakeURLFetcher(
testing::get<1>(args), testing::get<3>(args), body_, net::HTTP_OK,
net::URLRequestStatus::SUCCESS);
modifier_(fetcher);

Powered by Google App Engine
This is Rietveld 408576698