Index: base/file_path.cc |
diff --git a/base/file_path.cc b/base/file_path.cc |
index f3420543108e25bd731108c563e31c16eac4a447..fa93b2a679b6f133d61b3556ecb8bf0eefc70f6a 100644 |
--- a/base/file_path.cc |
+++ b/base/file_path.cc |
@@ -83,7 +83,7 @@ bool IsPathAbsolute(const FilePath::StringType& path) { |
#endif // FILE_PATH_USES_DRIVE_LETTERS |
} |
-bool AreAllSeparators(FilePath::StringType input) { |
+bool AreAllSeparators(const FilePath::StringType& input) { |
for (FilePath::StringType::const_iterator it = input.begin(); |
it != input.end(); ++it) { |
if (!FilePath::IsSeparator(*it)) |