Index: chrome/browser/views/options/advanced_contents_view.cc |
=================================================================== |
--- chrome/browser/views/options/advanced_contents_view.cc (revision 3391) |
+++ chrome/browser/views/options/advanced_contents_view.cc (working copy) |
@@ -1106,9 +1106,7 @@ |
const int height = GetHeightForWidth(width); |
SetBounds(0, 0, width, height); |
} else { |
- CSize pref; |
- GetPreferredSize(&pref); |
- SetBounds(0, 0, pref.cx, pref.cy); |
+ SetBounds(gfx::Point(), GetPreferredSize()); |
} |
View::Layout(); |
} |