Index: Source/modules/mediastream/RTCIceCandidate.h |
diff --git a/Source/modules/mediastream/RTCIceCandidate.h b/Source/modules/mediastream/RTCIceCandidate.h |
index 296f087a2bd2474b3596e0c0899563a6b302e8a0..5eecfc12850b33bdd4330f6ecbb4e1303fb718de 100644 |
--- a/Source/modules/mediastream/RTCIceCandidate.h |
+++ b/Source/modules/mediastream/RTCIceCandidate.h |
@@ -43,10 +43,10 @@ namespace WebCore { |
class Dictionary; |
class ExceptionState; |
-class RTCIceCandidate FINAL : public RefCounted<RTCIceCandidate>, public ScriptWrappable { |
+class RTCIceCandidate FINAL : public RefCountedWillBeGarbageCollectedFinalized<RTCIceCandidate>, public ScriptWrappable { |
public: |
- static PassRefPtr<RTCIceCandidate> create(const Dictionary&, ExceptionState&); |
- static PassRefPtr<RTCIceCandidate> create(blink::WebRTCICECandidate); |
+ static PassRefPtrWillBeRawPtr<RTCIceCandidate> create(const Dictionary&, ExceptionState&); |
+ static PassRefPtrWillBeRawPtr<RTCIceCandidate> create(blink::WebRTCICECandidate); |
String candidate() const; |
void setCandidate(String); |
@@ -57,6 +57,8 @@ public: |
blink::WebRTCICECandidate webCandidate() const; |
+ void trace(Visitor*) { } |
+ |
private: |
explicit RTCIceCandidate(blink::WebRTCICECandidate); |