Index: webrtc/rtc_base/rtccertificategenerator_unittest.cc |
diff --git a/webrtc/rtc_base/rtccertificategenerator_unittest.cc b/webrtc/rtc_base/rtccertificategenerator_unittest.cc |
index f09f797974bc0c99ade2902046b793f16c6683e2..df820d93cc7601e1378c2f061974e22062bf3489 100644 |
--- a/webrtc/rtc_base/rtccertificategenerator_unittest.cc |
+++ b/webrtc/rtc_base/rtccertificategenerator_unittest.cc |
@@ -24,7 +24,7 @@ class RTCCertificateGeneratorFixture : public RTCCertificateGeneratorCallback { |
public: |
RTCCertificateGeneratorFixture() |
: signaling_thread_(Thread::Current()), |
- worker_thread_(new Thread()), |
+ worker_thread_(Thread::Create()), |
generate_async_completed_(false) { |
RTC_CHECK(signaling_thread_); |
RTC_CHECK(worker_thread_->Start()); |