Index: webrtc/api/proxy.h |
diff --git a/webrtc/api/proxy.h b/webrtc/api/proxy.h |
index 663e6c8873b0b1ee25b927de9a75ea6e8625f4c2..2df85c4bf46f4adb2f03196f2487287ab9a31d56 100644 |
--- a/webrtc/api/proxy.h |
+++ b/webrtc/api/proxy.h |
@@ -47,6 +47,8 @@ |
#ifndef WEBRTC_API_PROXY_H_ |
#define WEBRTC_API_PROXY_H_ |
+#include <memory> |
+ |
#include "webrtc/base/event.h" |
#include "webrtc/base/thread.h" |
@@ -117,7 +119,7 @@ class SynchronousMethodCall |
private: |
void OnMessage(rtc::Message*) { proxy_->OnMessage(NULL); e_->Set(); } |
- rtc::scoped_ptr<rtc::Event> e_; |
+ std::unique_ptr<rtc::Event> e_; |
rtc::MessageHandler* proxy_; |
}; |