diff --git a/webrtc/getstats.html b/webrtc/getstats.html
index 937f54b74ec826..c9d0a7877e8456 100644
--- a/webrtc/getstats.html
+++ b/webrtc/getstats.html
@@ -91,7 +91,6 @@
Retrieved stats info
gSecondConnection = new RTCPeerConnection(null);
gSecondConnection.onicecandidate = onIceCandidateToSecond;
- gSecondConnection.onaddstream = onRemoteStream;
// The createDataChannel is necessary and sufficient to make
// sure the ICE connection be attempted.