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

Unified Diff: Source/modules/mediastream/SourceInfo.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
« no previous file with comments | « Source/modules/mediastream/RTCPeerConnection.cpp ('k') | Source/modules/mediastream/UserMediaRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/SourceInfo.cpp
diff --git a/Source/modules/mediastream/SourceInfo.cpp b/Source/modules/mediastream/SourceInfo.cpp
index e57df18d3ff54088c0225e14194ac73f31627e4f..c748d6e3ddda7b635db3038b39a6835b111a25de 100644
--- a/Source/modules/mediastream/SourceInfo.cpp
+++ b/Source/modules/mediastream/SourceInfo.cpp
@@ -51,11 +51,11 @@ String SourceInfo::kind() const
{
switch (m_webSourceInfo.kind()) {
case WebKit::WebSourceInfo::SourceKindAudio:
- return ASCIILiteral("audio");
+ return "audio";
case WebKit::WebSourceInfo::SourceKindVideo:
- return ASCIILiteral("video");
+ return "video";
case WebKit::WebSourceInfo::SourceKindNone:
- return ASCIILiteral("none");
+ return "none";
}
ASSERT_NOT_REACHED();
@@ -73,9 +73,9 @@ String SourceInfo::facing() const
case WebKit::WebSourceInfo::VideoFacingModeNone:
return String();
case WebKit::WebSourceInfo::VideoFacingModeUser:
- return ASCIILiteral("user");
+ return "user";
case WebKit::WebSourceInfo::VideoFacingModeEnvironment:
- return ASCIILiteral("environment");
+ return "environment";
}
ASSERT_NOT_REACHED();
« no previous file with comments | « Source/modules/mediastream/RTCPeerConnection.cpp ('k') | Source/modules/mediastream/UserMediaRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698