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

Unified Diff: blimp/client/session/assignment_source_unittest.cc

Issue 2102173003: blimp: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | blimp/engine/app/blimp_url_request_context_getter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/session/assignment_source_unittest.cc
diff --git a/blimp/client/session/assignment_source_unittest.cc b/blimp/client/session/assignment_source_unittest.cc
index e0695aa0635c83c6ff71dd7e3ff6eaa06d362aec..07deed722703ea9c22f595f1a3ec5e1078a21974 100644
--- a/blimp/client/session/assignment_source_unittest.cc
+++ b/blimp/client/session/assignment_source_unittest.cc
@@ -210,7 +210,7 @@ TEST_F(AssignmentSourceTest, TestTCPAlternateEndpointSuccess) {
assignment.engine_endpoint = net::IPEndPoint(kTestIpAddress, kTestPort);
assignment.cert = scoped_refptr<net::X509Certificate>(nullptr);
- auto cmd_line = base::CommandLine::ForCurrentProcess();
+ auto* cmd_line = base::CommandLine::ForCurrentProcess();
cmd_line->AppendSwitchASCII(switches::kEngineIP, kTestIpAddressString);
cmd_line->AppendSwitchASCII(switches::kEnginePort,
std::to_string(kTestPort));
@@ -234,7 +234,7 @@ TEST_F(AssignmentSourceTest, TestSSLAlternateEndpointSuccess) {
assignment.engine_endpoint = net::IPEndPoint(kTestIpAddress, kTestPort);
assignment.cert = cert_;
- auto cmd_line = base::CommandLine::ForCurrentProcess();
+ auto* cmd_line = base::CommandLine::ForCurrentProcess();
cmd_line->AppendSwitchASCII(switches::kEngineIP, kTestIpAddressString);
cmd_line->AppendSwitchASCII(switches::kEnginePort,
« no previous file with comments | « no previous file | blimp/engine/app/blimp_url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698