Index: base/win/wait_chain_unittest.cc |
diff --git a/base/win/wait_chain_unittest.cc b/base/win/wait_chain_unittest.cc |
index 5dc6f56f1a41eda5d7d572cb3a8c92eb0c647051..ba04872206d561234436fc6a344d339bce8727db 100644 |
--- a/base/win/wait_chain_unittest.cc |
+++ b/base/win/wait_chain_unittest.cc |
@@ -109,7 +109,7 @@ |
// Terminates the thread. |
bool Terminate() { |
- ScopedHandle thread_handle(::OpenThread(THREAD_TERMINATE, FALSE, GetTid())); |
+ ScopedHandle thread_handle(::OpenThread(THREAD_TERMINATE, FALSE, tid())); |
return ::TerminateThread(thread_handle.Get(), 0); |
} |
@@ -259,7 +259,7 @@ |
WaitChainNodeVector wait_chain; |
bool is_deadlock; |
- ASSERT_TRUE(GetThreadWaitChain(waiting_thread_2->GetTid(), &wait_chain, |
+ ASSERT_TRUE(GetThreadWaitChain(waiting_thread_2->tid(), &wait_chain, |
&is_deadlock, nullptr, nullptr)); |
EXPECT_EQ(9U, wait_chain.size()); |
@@ -298,7 +298,7 @@ |
WaitChainNodeVector wait_chain; |
bool is_deadlock; |
- ASSERT_TRUE(GetThreadWaitChain(waiting_thread_3->GetTid(), &wait_chain, |
+ ASSERT_TRUE(GetThreadWaitChain(waiting_thread_3->tid(), &wait_chain, |
&is_deadlock, nullptr, nullptr)); |
EXPECT_EQ(7U, wait_chain.size()); |