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

Unified Diff: base/debug/trace_event_impl.cc

Issue 12741012: base: Support setting thread priorities generically. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove static initializers. Created 7 years, 7 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/base.gypi ('k') | base/synchronization/lock_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/trace_event_impl.cc
diff --git a/base/debug/trace_event_impl.cc b/base/debug/trace_event_impl.cc
index 70d92cee66f165685bfe61487b7883784ef07a54..67254c138ed5628ff39a3477742685fb1a8bba7c 100644
--- a/base/debug/trace_event_impl.cc
+++ b/base/debug/trace_event_impl.cc
@@ -977,7 +977,7 @@ void TraceLog::SetDisabled() {
lock_.Release();
PlatformThread::Join(sampling_thread_handle_);
lock_.Acquire();
- sampling_thread_handle_ = 0;
+ sampling_thread_handle_ = PlatformThreadHandle();
sampling_thread_.reset();
}
« no previous file with comments | « base/base.gypi ('k') | base/synchronization/lock_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698