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

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: rebase 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 b938dc884df2ba6f13ecb6a2387e4d4b193ea13a..e27df967c74a5d729a19c037f9b891ded0cc40f9 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