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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: Created 3 years, 10 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: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
index 52692bcb09d8b523ecad4be34b8eecab40fc2b08..b650a3103ca525d28b882beebaf51ce1637eb132 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
@@ -51,8 +51,8 @@ bool ChromeLauncherController::ConnectToShelfController() {
if (shelf_controller_.is_bound())
return true;
- auto connection = content::ServiceManagerConnection::GetForProcess();
- auto connector = connection ? connection->GetConnector() : nullptr;
+ auto* connection = content::ServiceManagerConnection::GetForProcess();
+ auto* connector = connection ? connection->GetConnector() : nullptr;
// Unit tests may not have a connector.
if (!connector)
return false;

Powered by Google App Engine
This is Rietveld 408576698