Index: chrome/browser/extensions/shell_window_registry.cc |
diff --git a/chrome/browser/extensions/shell_window_registry.cc b/chrome/browser/extensions/shell_window_registry.cc |
index d852cffd6354d22834fa87f0a6e6f64f2fd0b099..e97138df3b96457e7c3d02410b7555d1d9153efa 100644 |
--- a/chrome/browser/extensions/shell_window_registry.cc |
+++ b/chrome/browser/extensions/shell_window_registry.cc |
@@ -37,7 +37,7 @@ void ShellWindowRegistry::RemoveObserver(Observer* observer) { |
} |
ShellWindowRegistry::ShellWindowSet ShellWindowRegistry::GetShellWindowsForApp( |
- const std::string app_id) const { |
+ const std::string& app_id) const { |
ShellWindowSet app_windows; |
for (ShellWindowSet::const_iterator i = shell_windows_.begin(); |
i != shell_windows_.end(); ++i) { |