aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/rtcpeerconnection.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2020-03-04 15:08:18 -0500
committerJosh Matthews <josh@joshmatthews.net>2020-03-10 10:09:07 -0400
commit51145cfd83b9c2f0b4ebd68403f29a6ed955d902 (patch)
tree89ecd7f51bc7c347a750413821cf694aea638170 /components/script/dom/rtcpeerconnection.rs
parent70101786915ffbe0ec8141f125af855613b1a00c (diff)
downloadservo-51145cfd83b9c2f0b4ebd68403f29a6ed955d902.tar.gz
servo-51145cfd83b9c2f0b4ebd68403f29a6ed955d902.zip
Update to 3/4 nightly rustc.
Diffstat (limited to 'components/script/dom/rtcpeerconnection.rs')
-rw-r--r--components/script/dom/rtcpeerconnection.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/components/script/dom/rtcpeerconnection.rs b/components/script/dom/rtcpeerconnection.rs
index ae246cae5b4..e6b45d93676 100644
--- a/components/script/dom/rtcpeerconnection.rs
+++ b/components/script/dom/rtcpeerconnection.rs
@@ -55,8 +55,8 @@ pub struct RTCPeerConnection {
#[ignore_malloc_size_of = "defined in servo-media"]
controller: DomRefCell<Option<WebRtcController>>,
closed: Cell<bool>,
- /// Helps track state changes between the time createOffer/createAnswer
- /// is called and resolved
+ // Helps track state changes between the time createOffer/createAnswer
+ // is called and resolved
offer_answer_generation: Cell<u32>,
#[ignore_malloc_size_of = "promises are hard"]
offer_promises: DomRefCell<Vec<Rc<Promise>>>,
@@ -419,34 +419,34 @@ impl RTCPeerConnection {
}
impl RTCPeerConnectionMethods for RTCPeerConnection {
- /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-icecandidate
+ // https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-icecandidate
event_handler!(icecandidate, GetOnicecandidate, SetOnicecandidate);
- /// https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-ontrack
+ // https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-ontrack
event_handler!(track, GetOntrack, SetOntrack);
- /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-iceconnectionstatechange
+ // https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-iceconnectionstatechange
event_handler!(
iceconnectionstatechange,
GetOniceconnectionstatechange,
SetOniceconnectionstatechange
);
- /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-icegatheringstatechange
+ // https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-icegatheringstatechange
event_handler!(
icegatheringstatechange,
GetOnicegatheringstatechange,
SetOnicegatheringstatechange
);
- /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-onnegotiationneeded
+ // https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-onnegotiationneeded
event_handler!(
negotiationneeded,
GetOnnegotiationneeded,
SetOnnegotiationneeded
);
- /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-signalingstatechange
+ // https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-signalingstatechange
event_handler!(
signalingstatechange,
GetOnsignalingstatechange,