summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm')
-rw-r--r--chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm
index 0c25687..784331a 100644
--- a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm
@@ -27,7 +27,7 @@
ShellWindowCocoa::ShellWindowCocoa(Profile* profile,
const extensions::Extension* extension,
const GURL& url,
- const ShellWindow::CreateParams params)
+ const ShellWindow::CreateParams& params)
: ShellWindow(profile, extension, url),
attention_request_id_(0) {
NSRect rect = NSMakeRect(params.bounds.x(), params.bounds.y(),
@@ -177,6 +177,6 @@ NSWindow* ShellWindowCocoa::window() const {
ShellWindow* ShellWindow::CreateImpl(Profile* profile,
const extensions::Extension* extension,
const GURL& url,
- const ShellWindow::CreateParams params) {
+ const ShellWindow::CreateParams& params) {
return new ShellWindowCocoa(profile, extension, url, params);
}