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

Unified Diff: media/cast/test/utility/input_builder.cc

Issue 1360523002: Cleanup: Pass std::string as const reference from media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « media/cast/test/utility/input_builder.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/utility/input_builder.cc
diff --git a/media/cast/test/utility/input_builder.cc b/media/cast/test/utility/input_builder.cc
index 6fbe5064d850a02222cad5b1a24d00f99020a8db..c0b75db5ae07bffe3eed4a24d99ba574cc6e8589 100644
--- a/media/cast/test/utility/input_builder.cc
+++ b/media/cast/test/utility/input_builder.cc
@@ -63,7 +63,7 @@ int InputBuilder::GetIntInput() const {
return int_value;
}
-bool InputBuilder::ValidateInput(const std::string input) const {
+bool InputBuilder::ValidateInput(const std::string& input) const {
// Check for a valid range.
if (low_range_ == INT_MIN && high_range_ == INT_MAX)
return true;
« no previous file with comments | « media/cast/test/utility/input_builder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698