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

Unified Diff: media/audio/null_audio_sink.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-run on ToT, revert third_party changes and fix vexing parses. Created 7 years, 8 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
Index: media/audio/null_audio_sink.cc
diff --git a/media/audio/null_audio_sink.cc b/media/audio/null_audio_sink.cc
index 5c4f67af1d568c18f05494a0d255869f13a41582..40db453f1579f37d9731ea7c66d6a2a41cde3ee4 100644
--- a/media/audio/null_audio_sink.cc
+++ b/media/audio/null_audio_sink.cc
@@ -85,7 +85,7 @@ void NullAudioSink::StartAudioHashForTesting() {
}
std::string NullAudioSink::GetAudioHashForTesting() {
- return audio_hash_ ? audio_hash_->ToString() : "";
+ return audio_hash_ ? audio_hash_->ToString() : std::string();
}
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698