Index: webrtc/pc/proxy_unittest.cc |
diff --git a/webrtc/pc/proxy_unittest.cc b/webrtc/pc/proxy_unittest.cc |
index 148b74210e34e60b75b069ae670d65e0e62fde82..d7acdc193d3232bc61edc9514f1b32110f813965 100644 |
--- a/webrtc/pc/proxy_unittest.cc |
+++ b/webrtc/pc/proxy_unittest.cc |
@@ -284,8 +284,9 @@ class OwnedProxyTest : public testing::Test { |
public: |
OwnedProxyTest() |
: foo_(new Foo()), |
- foo_proxy_( |
- FooProxy::Create(&signaling_thread_, &worker_thread_, foo_)) { |
+ foo_proxy_(FooProxy::Create(&signaling_thread_, |
+ &worker_thread_, |
+ std::unique_ptr<FooInterface>(foo_))) { |
signaling_thread_.Start(); |
worker_thread_.Start(); |
} |