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

Unified Diff: chrome/browser/task_manager/sampling/shared_sampler_win.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/task_manager/sampling/shared_sampler_win.cc
diff --git a/chrome/browser/task_manager/sampling/shared_sampler_win.cc b/chrome/browser/task_manager/sampling/shared_sampler_win.cc
index 087acfe17bf4f379050b0db9c05534250b567e4d..6a34b8afb5af497b8f9c7b640965f8f6467b7604 100644
--- a/chrome/browser/task_manager/sampling/shared_sampler_win.cc
+++ b/chrome/browser/task_manager/sampling/shared_sampler_win.cc
@@ -398,8 +398,8 @@ std::unique_ptr<ProcessDataSnapshot> SharedSampler::CaptureSnapshot() {
snapshot->timestamp = base::TimeTicks::Now();
for (size_t offset = 0; offset < data_buffer.size(); ) {
- auto pi = reinterpret_cast<const SYSTEM_PROCESS_INFORMATION*>(
- data_buffer.data() + offset);
+ auto* pi = reinterpret_cast<const SYSTEM_PROCESS_INFORMATION*>(
+ data_buffer.data() + offset);
// Validate that the offset is valid and all needed data is within
// the buffer boundary.

Powered by Google App Engine
This is Rietveld 408576698