Index: chrome/browser/ui/panels/panel.h |
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h |
index bcc9335b4da2e90a44fe1b21995577fd2bdb7225..477c5acbd89720cd0a9b36e77650eb5d45b56912 100644 |
--- a/chrome/browser/ui/panels/panel.h |
+++ b/chrome/browser/ui/panels/panel.h |
@@ -299,7 +299,7 @@ class Panel : public BrowserWindow, |
void EnableResizeByMouse(bool enable); |
// Changes the preferred size to acceptable based on min_size() and max_size() |
- void ClampSize(gfx::Size* size) const; |
+ gfx::Size ClampSize(const gfx::Size& size) const; |
// Called when the panel's active state changes. |
// |active| is true if panel became active. |