summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/extensions')
-rw-r--r--chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h2
-rw-r--r--chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm4
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h
index fe0a2e8..75fd332 100644
--- a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h
+++ b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h
@@ -33,7 +33,7 @@ class ShellWindowCocoa : public ShellWindow {
ShellWindowCocoa(Profile* profile,
const extensions::Extension* extension,
const GURL& url,
- const CreateParams params);
+ const CreateParams& params);
// BaseWindow implementation.
virtual bool IsActive() const OVERRIDE;
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);
}