Index: talk/app/webrtc/jsepsessiondescription.cc |
diff --git a/talk/app/webrtc/jsepsessiondescription.cc b/talk/app/webrtc/jsepsessiondescription.cc |
index 697f332c27c64274951ba4255273c97568dcf09b..d1428d000cc060f05173eef3651866428a653171 100644 |
--- a/talk/app/webrtc/jsepsessiondescription.cc |
+++ b/talk/app/webrtc/jsepsessiondescription.cc |
@@ -130,7 +130,7 @@ bool JsepSessionDescription::AddCandidate( |
} |
if (mediasection_index >= number_of_mediasections()) |
return false; |
- const std::string content_name = |
+ const std::string& content_name = |
description_->contents()[mediasection_index].name; |
const cricket::TransportInfo* transport_info = |
description_->GetTransportInfoByName(content_name); |