Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: webrtc/api/proxy.h

Issue 1930463002: Replace scoped_ptr with unique_ptr in webrtc/api/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/peerconnectioninterface_unittest.cc ('k') | webrtc/api/proxy_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
};
« no previous file with comments | « webrtc/api/peerconnectioninterface_unittest.cc ('k') | webrtc/api/proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698