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

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

Issue 22572005: Remove all uses of the ASCIILiteral class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm it from wtf Created 7 years, 4 months 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
Index: Source/modules/mediastream/MediaConstraintsImpl.cpp
diff --git a/Source/modules/mediastream/MediaConstraintsImpl.cpp b/Source/modules/mediastream/MediaConstraintsImpl.cpp
index 0ba8b7508d9173d9daf497ecb25660d7b265da6c..10d1c8bf26b0778abdb7bf26f978504b198cbe66 100644
--- a/Source/modules/mediastream/MediaConstraintsImpl.cpp
+++ b/Source/modules/mediastream/MediaConstraintsImpl.cpp
@@ -63,8 +63,8 @@ bool MediaConstraintsImpl::initialize(const Dictionary& constraints)
Vector<String> names;
constraints.getOwnPropertyNames(names);
- String mandatory = ASCIILiteral("mandatory");
- String optional = ASCIILiteral("optional");
+ String mandatory("mandatory");
+ String optional("optional");
for (Vector<String>::iterator it = names.begin(); it != names.end(); ++it) {
if (*it != mandatory && *it != optional)
« no previous file with comments | « Source/modules/geolocation/GeolocationController.cpp ('k') | Source/modules/mediastream/MediaStreamTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698