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

Unified Diff: chrome/browser/chromeos/arc/arc_process_service.cc

Issue 2172023002: chrome/browser/chromeos: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/browser/chromeos/arc/arc_process_service.cc
diff --git a/chrome/browser/chromeos/arc/arc_process_service.cc b/chrome/browser/chromeos/arc/arc_process_service.cc
index b84ddafaba4b03172f5bf00609169c12baa8cc19..15824d0e9d05d9a0ae2418ea4cb119a098ebd604 100644
--- a/chrome/browser/chromeos/arc/arc_process_service.cc
+++ b/chrome/browser/chromeos/arc/arc_process_service.cc
@@ -98,10 +98,10 @@ void ArcProcessService::OnReceiveProcessList(
mojo::Array<arc::mojom::RunningAppProcessInfoPtr> mojo_processes) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
- auto raw_processes = new vector<mojom::RunningAppProcessInfoPtr>();
+ auto* raw_processes = new vector<mojom::RunningAppProcessInfoPtr>();
mojo_processes.Swap(raw_processes);
- auto ret_processes = new vector<ArcProcess>();
+ auto* ret_processes = new vector<ArcProcess>();
// Post to its dedicated worker thread to avoid race condition.
// Since no two tasks with the same token should be run at the same.
// Note: GetSequencedTaskRunner's shutdown behavior defaults to
« no previous file with comments | « chrome/browser/chromeos/arc/arc_policy_bridge.cc ('k') | chrome/browser/chromeos/arc/gpu_arc_video_service_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698