Index: content/shell/browser/shell_views.cc |
diff --git a/content/shell/browser/shell_views.cc b/content/shell/browser/shell_views.cc |
index c6b09e474a704e024ee2dbbdf3c320227a329d25..1670f87e8c5c10e3d74ee0aa2c14cbc3227d2521 100644 |
--- a/content/shell/browser/shell_views.cc |
+++ b/content/shell/browser/shell_views.cc |
@@ -270,6 +270,11 @@ class ShellWindowDelegateView : public views::WidgetDelegateView, |
virtual View* GetContentsView() OVERRIDE { return this; } |
// Overridden from View |
+ virtual gfx::Size GetMinimumSize() OVERRIDE { |
+ // We want to be able to make the window smaller than its initial |
+ // (preferred) size. |
+ return gfx::Size(); |
+ } |
virtual void ViewHierarchyChanged( |
const ViewHierarchyChangedDetails& details) OVERRIDE { |
if (details.is_add && details.child == this) { |