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

Unified Diff: Source/modules/mediastream/RTCDataChannel.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/MediaStreamTrack.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/RTCDataChannel.cpp
diff --git a/Source/modules/mediastream/RTCDataChannel.cpp b/Source/modules/mediastream/RTCDataChannel.cpp
index d90f8e76a44b60f52566acf4e4449d83c50c19bb..4a3a5c0e201725a5188368f933868cd82c94ae54 100644
--- a/Source/modules/mediastream/RTCDataChannel.cpp
+++ b/Source/modules/mediastream/RTCDataChannel.cpp
@@ -114,13 +114,13 @@ String RTCDataChannel::readyState() const
{
switch (m_readyState) {
case ReadyStateConnecting:
- return ASCIILiteral("connecting");
+ return "connecting";
case ReadyStateOpen:
- return ASCIILiteral("open");
+ return "open";
case ReadyStateClosing:
- return ASCIILiteral("closing");
+ return "closing";
case ReadyStateClosed:
- return ASCIILiteral("closed");
+ return "closed";
}
ASSERT_NOT_REACHED();
@@ -136,9 +136,9 @@ String RTCDataChannel::binaryType() const
{
switch (m_binaryType) {
case BinaryTypeBlob:
- return ASCIILiteral("blob");
+ return "blob";
case BinaryTypeArrayBuffer:
- return ASCIILiteral("arraybuffer");
+ return "arraybuffer";
}
ASSERT_NOT_REACHED();
return String();
« no previous file with comments | « Source/modules/mediastream/MediaStreamTrack.cpp ('k') | Source/modules/mediastream/RTCPeerConnection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698