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

Unified Diff: webrtc/test/field_trial.cc

Issue 1228913003: Remove empty-string comparisons. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 5 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/modules/video_coding/main/test/video_rtp_play.cc ('k') | webrtc/tools/agc/agc_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/field_trial.cc
diff --git a/webrtc/test/field_trial.cc b/webrtc/test/field_trial.cc
index 92aa6b08150a4ac672f4713fddd776df90beb004..05ca052a57051041c53e6ec2860126190ac6b459 100644
--- a/webrtc/test/field_trial.cc
+++ b/webrtc/test/field_trial.cc
@@ -49,7 +49,7 @@ void InitFieldTrialsFromString(const std::string& trials_string) {
assert(field_trials_initiated_ == false);
field_trials_initiated_ = true;
- if (trials_string == "")
+ if (trials_string.empty())
return;
size_t next_item = 0;
« no previous file with comments | « webrtc/modules/video_coding/main/test/video_rtp_play.cc ('k') | webrtc/tools/agc/agc_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698