Fix a Wrange-loop-analysis warning in crashpad.

Bug: chromium:1039697
Change-Id: I54d3dc7feca31774aaff2346a329b6125d3a769b
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2069637
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
GitOrigin-RevId: d632f625a2f229ab5a7e0540d49deb3a75d91028
diff --git a/tools/crashpad_database_util.cc b/tools/crashpad_database_util.cc
index 17a4771..a003616 100644
--- a/tools/crashpad_database_util.cc
+++ b/tools/crashpad_database_util.cc
@@ -561,7 +561,7 @@
   }
 
   bool used_stdin = false;
-  for (const base::FilePath new_report_path : options.new_report_paths) {
+  for (const base::FilePath& new_report_path : options.new_report_paths) {
     std::unique_ptr<FileReaderInterface> file_reader;
 
     if (new_report_path.value() == FILE_PATH_LITERAL("-")) {