| Index: Source/modules/mediastream/RTCStatsResponse.h
|
| diff --git a/Source/modules/mediastream/RTCStatsResponse.h b/Source/modules/mediastream/RTCStatsResponse.h
|
| index 9bda7feefca2995cad718f46e6cebbebada3bc32..9213f820e65d272991f0e78952355e95c43203b3 100644
|
| --- a/Source/modules/mediastream/RTCStatsResponse.h
|
| +++ b/Source/modules/mediastream/RTCStatsResponse.h
|
| @@ -26,6 +26,7 @@
|
| #define RTCStatsResponse_h
|
|
|
| #include "bindings/v8/ScriptWrappable.h"
|
| +#include "heap/Handle.h"
|
| #include "modules/mediastream/RTCStatsReport.h"
|
| #include "platform/mediastream/RTCStatsResponseBase.h"
|
| #include "wtf/HashMap.h"
|
| @@ -36,18 +37,20 @@ namespace WebCore {
|
|
|
| class RTCStatsResponse FINAL : public RTCStatsResponseBase, public ScriptWrappable {
|
| public:
|
| - static PassRefPtr<RTCStatsResponse> create();
|
| + static PassRefPtrWillBeRawPtr<RTCStatsResponse> create();
|
|
|
| - const Vector<RefPtr<RTCStatsReport> >& result() const { return m_result; }
|
| + const WillBeHeapVector<RefPtrWillBeMember<RTCStatsReport> >& result() const { return m_result; }
|
|
|
| - PassRefPtr<RTCStatsReport> namedItem(const AtomicString& name);
|
| + PassRefPtrWillBeRawPtr<RTCStatsReport> namedItem(const AtomicString& name);
|
|
|
| virtual size_t addReport(String id, String type, double timestamp) OVERRIDE;
|
| virtual void addStatistic(size_t report, String name, String value) OVERRIDE;
|
|
|
| + virtual void trace(Visitor*) OVERRIDE;
|
| +
|
| private:
|
| RTCStatsResponse();
|
| - Vector<RefPtr<RTCStatsReport> > m_result;
|
| + WillBeHeapVector<RefPtrWillBeMember<RTCStatsReport> > m_result;
|
| HashMap<String, int> m_idmap;
|
| };
|
|
|
|
|