Index: webrtc/api/jsepsessiondescription.cc |
diff --git a/webrtc/api/jsepsessiondescription.cc b/webrtc/api/jsepsessiondescription.cc |
index b76b167193a6e8c93b55b5771250774ab23c1a4b..b47114b9bcd052979f13a19bdea35d3faae6efc5 100644 |
--- a/webrtc/api/jsepsessiondescription.cc |
+++ b/webrtc/api/jsepsessiondescription.cc |
@@ -151,9 +151,10 @@ const IceCandidateCollection* JsepSessionDescription::candidates( |
} |
bool JsepSessionDescription::ToString(std::string* out) const { |
- if (!description_ || !out) |
+ if (!description_ || !out) { |
return false; |
- *out = SdpSerialize(*this); |
+ } |
+ *out = SdpSerialize(*this, false); |
return !out->empty(); |
} |