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

Unified Diff: webrtc/api/objctests/RTCSessionDescriptionTest.mm

Issue 1696673003: Tweaks for new Objective-C API. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Don't use object subscripting Created 4 years, 10 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 | « webrtc/api/objctests/RTCIceServerTest.mm ('k') | webrtc/base/objc/RTCSSLAdapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/objctests/RTCSessionDescriptionTest.mm
diff --git a/webrtc/api/objctests/RTCSessionDescriptionTest.mm b/webrtc/api/objctests/RTCSessionDescriptionTest.mm
index 2404dedd3a930cc4bba417db1e137578064cabc9..605c5f1a9a18f98968a18d22758e53cbc54ca42f 100644
--- a/webrtc/api/objctests/RTCSessionDescriptionTest.mm
+++ b/webrtc/api/objctests/RTCSessionDescriptionTest.mm
@@ -36,7 +36,7 @@
description.nativeDescription;
EXPECT_EQ(RTCSdpTypeAnswer,
- [RTCSessionDescription typeForString:nativeDescription->type()]);
+ [RTCSessionDescription typeForStdString:nativeDescription->type()]);
std::string sdp;
nativeDescription->ToString(&sdp);
@@ -55,7 +55,7 @@
[[RTCSessionDescription alloc] initWithNativeDescription:
nativeDescription];
EXPECT_EQ(webrtc::SessionDescriptionInterface::kAnswer,
- [RTCSessionDescription stringForType:description.type]);
+ [RTCSessionDescription stdStringForType:description.type]);
EXPECT_TRUE([[self sdp] isEqualToString:description.sdp]);
}
« no previous file with comments | « webrtc/api/objctests/RTCIceServerTest.mm ('k') | webrtc/base/objc/RTCSSLAdapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698