Index: talk/app/webrtc/webrtcsdp.cc |
diff --git a/talk/app/webrtc/webrtcsdp.cc b/talk/app/webrtc/webrtcsdp.cc |
index 9d647955d1fa4df9c33583a25778a3994dea5a8a..b6f23ca9d00577e9ae7e4834bd128a8efbecdd0e 100644 |
--- a/talk/app/webrtc/webrtcsdp.cc |
+++ b/talk/app/webrtc/webrtcsdp.cc |
@@ -2192,7 +2192,7 @@ bool ParseMediaDescription(const std::string& message, |
for (size_t j = 3 ; j < fields.size(); ++j) { |
// TODO(wu): Remove when below bug is fixed. |
// https://bugzilla.mozilla.org/show_bug.cgi?id=996329 |
- if (fields[j] == "" && j == fields.size() - 1) { |
+ if (fields[j].empty() && j == fields.size() - 1) { |
continue; |
} |