Index: chrome/browser/profiles/profile_manager.cc |
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc |
index cc3647cb380fb3657554d71cfadb0f76335210fe..f0f5f44b6ae23158cde92afc31c474bd641baf76 100644 |
--- a/chrome/browser/profiles/profile_manager.cc |
+++ b/chrome/browser/profiles/profile_manager.cc |
@@ -43,9 +43,9 @@ |
namespace { |
-void DeleteProfileDirectories(std::vector<FilePath> paths) { |
+void DeleteProfileDirectories(const std::vector<FilePath>& paths) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); |
- for (std::vector<FilePath>::iterator it = paths.begin(); |
+ for (std::vector<FilePath>::const_iterator it = paths.begin(); |
it != paths.end(); ++it) { |
file_util::Delete(*it, true); |
} |