Index: webrtc/api/peerconnectioninterface.h |
diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h |
index b346783bb37048699b95e256026b8bf1a92bb08e..bd9d93ce837fc5e82c434c7edab98d5a81bff6f5 100644 |
--- a/webrtc/api/peerconnectioninterface.h |
+++ b/webrtc/api/peerconnectioninterface.h |
@@ -801,7 +801,8 @@ class PeerConnectionObserver { |
PeerConnectionInterface::IceGatheringState new_state) = 0; |
// A new ICE candidate has been gathered. |
- virtual void OnIceCandidate(const IceCandidateInterface* candidate) = 0; |
+ virtual void OnIceCandidate( |
joachim
2017/03/19 22:32:22
The better solution would be to keep the old versi
|
+ rtc::scoped_refptr<IceCandidateInterface> candidate) = 0; |
// Ice candidates have been removed. |
// TODO(honghaiz): Make this a pure virtual method when all its subclasses |