Index: chrome/browser/extensions/shell_window_registry.h |
diff --git a/chrome/browser/extensions/shell_window_registry.h b/chrome/browser/extensions/shell_window_registry.h |
index 52f3e1f233460d13cb5b834320b786a76f9d720a..3e248cbc8acde92f8282f0af3aae46270766cc36 100644 |
--- a/chrome/browser/extensions/shell_window_registry.h |
+++ b/chrome/browser/extensions/shell_window_registry.h |
@@ -58,7 +58,7 @@ class ShellWindowRegistry : public ProfileKeyedService { |
void RemoveObserver(Observer* observer); |
// Returns a set of windows owned by the application identified by app_id. |
- ShellWindowSet GetShellWindowsForApp(const std::string app_id) const; |
+ ShellWindowSet GetShellWindowsForApp(const std::string& app_id) const; |
const ShellWindowSet& shell_windows() const { return shell_windows_; } |
// Helper functions to find shell windows with particular attributes. |