Index: webrtc/rtc_base/logging_unittest.cc |
diff --git a/webrtc/rtc_base/logging_unittest.cc b/webrtc/rtc_base/logging_unittest.cc |
index 5e7f67c598bf66cb2b902d87cfc9210f0fc3a4e9..c80607772056bd975d7b31e4985ca2d845a6eff7 100644 |
--- a/webrtc/rtc_base/logging_unittest.cc |
+++ b/webrtc/rtc_base/logging_unittest.cc |
@@ -8,9 +8,10 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#include "webrtc/rtc_base/logging.h" |
#include "webrtc/rtc_base/fileutils.h" |
#include "webrtc/rtc_base/gunit.h" |
+#include "webrtc/rtc_base/logging.h" |
+#include "webrtc/rtc_base/nullsocketserver.h" |
#include "webrtc/rtc_base/pathutils.h" |
#include "webrtc/rtc_base/stream.h" |
#include "webrtc/rtc_base/thread.h" |
@@ -88,6 +89,8 @@ TEST(LogTest, MultipleStreams) { |
// We should restore the correct global state at the end. |
class LogThread : public Thread { |
public: |
+ LogThread() : Thread(std::unique_ptr<SocketServer>(new NullSocketServer())) {} |
+ |
~LogThread() override { |
Stop(); |
} |