summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/modules/mediastream/RTCSessionDescription.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/mediastream/RTCSessionDescription.h')
-rw-r--r--chromium/third_party/WebKit/Source/modules/mediastream/RTCSessionDescription.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/mediastream/RTCSessionDescription.h b/chromium/third_party/WebKit/Source/modules/mediastream/RTCSessionDescription.h
index 8e87f89e731..5b539694c0d 100644
--- a/chromium/third_party/WebKit/Source/modules/mediastream/RTCSessionDescription.h
+++ b/chromium/third_party/WebKit/Source/modules/mediastream/RTCSessionDescription.h
@@ -42,10 +42,10 @@ namespace WebCore {
class Dictionary;
class ExceptionState;
-class RTCSessionDescription FINAL : public RefCounted<RTCSessionDescription>, public ScriptWrappable {
+class RTCSessionDescription FINAL : public RefCountedWillBeGarbageCollectedFinalized<RTCSessionDescription>, public ScriptWrappable {
public:
- static PassRefPtr<RTCSessionDescription> create(const Dictionary&, ExceptionState&);
- static PassRefPtr<RTCSessionDescription> create(blink::WebRTCSessionDescription);
+ static PassRefPtrWillBeRawPtr<RTCSessionDescription> create(const Dictionary&, ExceptionState&);
+ static PassRefPtrWillBeRawPtr<RTCSessionDescription> create(blink::WebRTCSessionDescription);
String type();
void setType(const String&, ExceptionState&);
@@ -55,6 +55,8 @@ public:
blink::WebRTCSessionDescription webSessionDescription();
+ void trace(Visitor*) { }
+
private:
explicit RTCSessionDescription(blink::WebRTCSessionDescription);