Index: Source/modules/mediastream/RTCPeerConnection.cpp |
diff --git a/Source/modules/mediastream/RTCPeerConnection.cpp b/Source/modules/mediastream/RTCPeerConnection.cpp |
index a5e9b165b18250d19fd9ff45709a50a2e3154f8a..2fe5ef43d635a019e7df6f4f28148b209bc9cd27 100644 |
--- a/Source/modules/mediastream/RTCPeerConnection.cpp |
+++ b/Source/modules/mediastream/RTCPeerConnection.cpp |
@@ -128,7 +128,7 @@ RTCConfiguration* RTCPeerConnection::parseConfiguration(const Dictionary& config |
} |
Vector<String> names; |
- iceServer.getOwnPropertyNames(names); |
+ iceServer.getPropertyNames(names); |
Vector<String> urlStrings; |
if (names.contains("urls")) { |
@@ -178,7 +178,7 @@ RTCOfferOptions* RTCPeerConnection::parseOfferOptions(const Dictionary& options, |
return 0; |
Vector<String> propertyNames; |
- options.getOwnPropertyNames(propertyNames); |
+ options.getPropertyNames(propertyNames); |
// Treat |options| as MediaConstraints if it is empty or has "optional" or "mandatory" properties for compatibility. |
// TODO(jiayl): remove constraints when RTCOfferOptions reaches Stable and client code is ready. |