Fix all -Wnon-virtual-dtor warnings.
This is needed to get the GN build going for several parts
of the code tree.
BUG=webrtc:3307
NOTRY=True
R=henrika@webrtc.org, nisse@webrtc.org
Review URL: https://codereview.webrtc.org/1928653005 .
Cr-Commit-Position: refs/heads/master@{#12693}
diff --git a/webrtc/api/peerconnectioninterface_unittest.cc b/webrtc/api/peerconnectioninterface_unittest.cc
index 2594b6c..1386e8c 100644
--- a/webrtc/api/peerconnectioninterface_unittest.cc
+++ b/webrtc/api/peerconnectioninterface_unittest.cc
@@ -416,7 +416,7 @@
class MockPeerConnectionObserver : public PeerConnectionObserver {
public:
MockPeerConnectionObserver() : remote_streams_(StreamCollection::Create()) {}
- ~MockPeerConnectionObserver() {
+ virtual ~MockPeerConnectionObserver() {
}
void SetPeerConnectionInterface(PeerConnectionInterface* pc) {
pc_ = pc;