Index: Source/platform/mediastream/RTCConfiguration.cpp |
diff --git a/Source/modules/mediastream/RTCSessionDescriptionCallback.idl b/Source/platform/mediastream/RTCConfiguration.cpp |
similarity index 83% |
copy from Source/modules/mediastream/RTCSessionDescriptionCallback.idl |
copy to Source/platform/mediastream/RTCConfiguration.cpp |
index 59ffe441a6758bedde67a1101efbb550a921affc..2d12b8e0220f292e29f015ca3ba1258260770b0e 100644 |
--- a/Source/modules/mediastream/RTCSessionDescriptionCallback.idl |
+++ b/Source/platform/mediastream/RTCConfiguration.cpp |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2012 Google Inc. All rights reserved. |
+ * Copyright (C) 2015 Google Inc. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
@@ -28,7 +28,15 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-callback interface RTCSessionDescriptionCallback { |
- void handleEvent(RTCSessionDescription sdp); |
-}; |
+#include "config.h" |
+#include "platform/mediastream/RTCConfiguration.h" |
+namespace blink { |
+ |
+RTCConfiguration::~RTCConfiguration() |
+{ |
+ for (WebRTCCertificate* certificate : m_certificates) |
+ delete certificate; |
+} |
+ |
+} // namespace blink |