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

Unified Diff: base/win/scoped_handle_test_dll.cc

Issue 2173523002: base: 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
« no previous file with comments | « base/trace_event/java_heap_dump_provider_android_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/scoped_handle_test_dll.cc
diff --git a/base/win/scoped_handle_test_dll.cc b/base/win/scoped_handle_test_dll.cc
index c72e4592b9dc02d7ff3132047299b418e7b51b62..0d70c0b627c25ba61b02d3f3a0f8b72effc42e62 100644
--- a/base/win/scoped_handle_test_dll.cc
+++ b/base/win/scoped_handle_test_dll.cc
@@ -66,7 +66,7 @@ bool InternalRunThreadTest() {
::CloseHandle(ready_event);
if (threads_.size() != kNumThreads) {
- for (const auto& thread : threads_)
+ for (auto* thread : threads_)
::CloseHandle(thread);
::CloseHandle(start_event);
return false;
@@ -74,7 +74,7 @@ bool InternalRunThreadTest() {
::SetEvent(start_event);
::CloseHandle(start_event);
- for (const auto& thread : threads_) {
+ for (auto* thread : threads_) {
::WaitForSingleObject(thread, INFINITE);
::CloseHandle(thread);
}
« no previous file with comments | « base/trace_event/java_heap_dump_provider_android_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698