Index: webrtc/api/statstypes.h |
diff --git a/webrtc/api/statstypes.h b/webrtc/api/statstypes.h |
index 5d853708c981255e6b689c1a980940a89cc902a9..e30760b47a2f9e7979dccd02e3415ee28e8fba9e 100644 |
--- a/webrtc/api/statstypes.h |
+++ b/webrtc/api/statstypes.h |
@@ -22,6 +22,7 @@ |
#include "webrtc/base/basictypes.h" |
#include "webrtc/base/common.h" |
#include "webrtc/base/constructormagic.h" |
+#include "webrtc/base/linked_ptr.h" |
#include "webrtc/base/refcount.h" |
#include "webrtc/base/scoped_ref_ptr.h" |
#include "webrtc/base/stringencode.h" |
@@ -320,7 +321,7 @@ |
// TODO(tommi): Consider using a similar approach to how we store Ids using |
// scoped_refptr for values. |
- typedef std::unique_ptr<Value> ValuePtr; |
+ typedef rtc::linked_ptr<Value> ValuePtr; |
typedef std::map<StatsValueName, ValuePtr> Values; |
// Ownership of |id| is passed to |this|. |