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

Unified Diff: base/time/time_win.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
« no previous file with comments | « base/threading/worker_pool_win.cc ('k') | base/win/scoped_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/time_win.cc
diff --git a/base/time/time_win.cc b/base/time/time_win.cc
index 75f398d60f654267e37862a5ed477468f78000bc..4f013a36a53597825d9b07f114219cac296994dd 100644
--- a/base/time/time_win.cc
+++ b/base/time/time_win.cc
@@ -97,7 +97,7 @@ bool g_high_res_timer_enabled = false;
uint32_t g_high_res_timer_count = 0;
// The lock to control access to the above two variables.
base::Lock* GetHighResLock() {
- static auto lock = new base::Lock();
+ static auto* lock = new base::Lock();
return lock;
}
« no previous file with comments | « base/threading/worker_pool_win.cc ('k') | base/win/scoped_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698