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

Unified Diff: Source/modules/mediastream/MediaConstraintsImpl.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/bindings/core/v8/Dictionary.cpp ('k') | Source/modules/mediastream/RTCPeerConnection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/MediaConstraintsImpl.cpp
diff --git a/Source/modules/mediastream/MediaConstraintsImpl.cpp b/Source/modules/mediastream/MediaConstraintsImpl.cpp
index cc9f7f5eb3a7baf2a48ff75059da4edf4f48c7c0..66d3a5dbfc49e32ed0e39ee4766b01adefe4abfb 100644
--- a/Source/modules/mediastream/MediaConstraintsImpl.cpp
+++ b/Source/modules/mediastream/MediaConstraintsImpl.cpp
@@ -50,7 +50,7 @@ static bool parse(const Dictionary& constraintsDictionary, WebVector<WebMediaCon
return true;
Vector<String> names;
- constraintsDictionary.getOwnPropertyNames(names);
+ constraintsDictionary.getPropertyNames(names);
String mandatoryName("mandatory");
String optionalName("optional");
@@ -95,7 +95,7 @@ static bool parse(const Dictionary& constraintsDictionary, WebVector<WebMediaCon
if (!ok || constraint.isUndefinedOrNull())
return false;
Vector<String> localNames;
- constraint.getOwnPropertyNames(localNames);
+ constraint.getPropertyNames(localNames);
if (localNames.size() != 1)
return false;
String key = localNames[0];
« no previous file with comments | « Source/bindings/core/v8/Dictionary.cpp ('k') | Source/modules/mediastream/RTCPeerConnection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698