summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/file_path.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/file_path.cc b/base/file_path.cc
index a84d017..bf3eee8 100644
--- a/base/file_path.cc
+++ b/base/file_path.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -63,8 +63,8 @@ StringType::size_type FindDriveLetter(const StringType& path) {
}
#if defined(FILE_PATH_USES_DRIVE_LETTERS)
-bool EqualDriveLetterCaseInsensitive(const StringType a,
- const StringType b) {
+bool EqualDriveLetterCaseInsensitive(const StringType& a,
+ const StringType& b) {
size_t a_letter_pos = FindDriveLetter(a);
size_t b_letter_pos = FindDriveLetter(b);