Index: runtime/vm/os_thread_win.cc |
diff --git a/runtime/vm/os_thread_win.cc b/runtime/vm/os_thread_win.cc |
index aac5639a064647f4e24f4149572b2a8ab4af053e..52fbd983fe6bdd8c7a1463f1929f14d77d8927e2 100644 |
--- a/runtime/vm/os_thread_win.cc |
+++ b/runtime/vm/os_thread_win.cc |
@@ -276,8 +276,7 @@ void Mutex::Unlock() { |
} |
-ThreadLocalKey MonitorWaitData::monitor_wait_data_key_ = |
- OSThread::kUnsetThreadLocalKey; |
+ThreadLocalKey MonitorWaitData::monitor_wait_data_key_ = kUnsetThreadLocalKey; |
Monitor::Monitor() { |
@@ -327,8 +326,7 @@ void Monitor::Exit() { |
void MonitorWaitData::ThreadExit() { |
- if (MonitorWaitData::monitor_wait_data_key_ != |
- OSThread::kUnsetThreadLocalKey) { |
+ if (MonitorWaitData::monitor_wait_data_key_ != kUnsetThreadLocalKey) { |
uword raw_wait_data = |
OSThread::GetThreadLocal(MonitorWaitData::monitor_wait_data_key_); |
// Clear in case this is called a second time. |
@@ -436,8 +434,7 @@ void MonitorData::SignalAndRemoveAllWaiters() { |
MonitorWaitData* MonitorData::GetMonitorWaitDataForThread() { |
// Ensure that the thread local key for monitor wait data objects is |
// initialized. |
- ASSERT(MonitorWaitData::monitor_wait_data_key_ != |
- OSThread::kUnsetThreadLocalKey); |
+ ASSERT(MonitorWaitData::monitor_wait_data_key_ != kUnsetThreadLocalKey); |
// Get the MonitorWaitData object containing the event for this |
// thread from thread local storage. Create it if it does not exist. |