Index: webrtc/system_wrappers/source/critical_section_unittest.cc |
diff --git a/webrtc/system_wrappers/source/critical_section_unittest.cc b/webrtc/system_wrappers/source/critical_section_unittest.cc |
index 6848bdd06ba67bad5deb2cbee28aa4acb15f01d2..347cb55c91ae21013d7cce2243fd3aaf2605abb5 100644 |
--- a/webrtc/system_wrappers/source/critical_section_unittest.cc |
+++ b/webrtc/system_wrappers/source/critical_section_unittest.cc |
@@ -12,7 +12,7 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#include "webrtc/system_wrappers/include/sleep.h" |
-#include "webrtc/system_wrappers/include/thread_wrapper.h" |
+#include "webrtc/base/platform_thread.h" |
#include "webrtc/system_wrappers/include/trace.h" |
namespace webrtc { |
@@ -78,7 +78,7 @@ TEST_F(CritSectTest, ThreadWakesOnce) NO_THREAD_SAFETY_ANALYSIS { |
CriticalSectionWrapper* crit_sect = |
CriticalSectionWrapper::CreateCriticalSection(); |
ProtectedCount count(crit_sect); |
- rtc::scoped_ptr<ThreadWrapper> thread = ThreadWrapper::CreateThread( |
+ rtc::scoped_ptr<PlatformThread> thread = PlatformThread::CreateThread( |
&LockUnlockThenStopRunFunction, &count, "ThreadWakesOnce"); |
crit_sect->Enter(); |
ASSERT_TRUE(thread->Start()); |
@@ -105,7 +105,7 @@ TEST_F(CritSectTest, ThreadWakesTwice) NO_THREAD_SAFETY_ANALYSIS { |
CriticalSectionWrapper* crit_sect = |
CriticalSectionWrapper::CreateCriticalSection(); |
ProtectedCount count(crit_sect); |
- rtc::scoped_ptr<ThreadWrapper> thread = ThreadWrapper::CreateThread( |
+ rtc::scoped_ptr<PlatformThread> thread = PlatformThread::CreateThread( |
&LockUnlockRunFunction, &count, "ThreadWakesTwice"); |
crit_sect->Enter(); // Make sure counter stays 0 until we wait for it. |
ASSERT_TRUE(thread->Start()); |