Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1284)

Unified Diff: Source/modules/mediastream/RTCPeerConnection.cpp

Issue 715583008: Remove Dictionary::getOwnPropertyNames() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/mediastream/MediaConstraintsImpl.cpp ('k') | Source/modules/serviceworkers/Headers.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « Source/modules/mediastream/MediaConstraintsImpl.cpp ('k') | Source/modules/serviceworkers/Headers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698