| Index: chrome/browser/chromeos/frame/panel_browser_view.cc
|
| diff --git a/chrome/browser/chromeos/frame/panel_browser_view.cc b/chrome/browser/chromeos/frame/panel_browser_view.cc
|
| index e91d51f378a33e56fbcdec547de13d99516616b2..a7f075a0b5519a78f7d85fa9f6c6be0244833970 100644
|
| --- a/chrome/browser/chromeos/frame/panel_browser_view.cc
|
| +++ b/chrome/browser/chromeos/frame/panel_browser_view.cc
|
| @@ -55,24 +55,6 @@ void PanelBrowserView::LimitBounds(gfx::Rect* bounds) const {
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // BrowserView overrides.
|
|
|
| -void PanelBrowserView::Init() {
|
| - ::BrowserView::Init();
|
| - // The visibility of toolbar is controlled in
|
| - // the BrowserView::IsToolbarVisible method.
|
| -
|
| - views::Window* window = frame()->GetWindow();
|
| - gfx::NativeWindow native_window = window->GetNativeWindow();
|
| - // The window manager needs the min size for popups.
|
| - gfx::Rect bounds = window->GetBounds();
|
| - LimitBounds(&bounds);
|
| - gtk_widget_set_size_request(
|
| - GTK_WIDGET(native_window), bounds.width(), bounds.height());
|
| - // If we don't explicitly resize here there is a race condition between
|
| - // the X Server and the window manager. Windows will appear with a default
|
| - // size of 200x200 if this happens.
|
| - gtk_window_resize(native_window, bounds.width(), bounds.height());
|
| -}
|
| -
|
| void PanelBrowserView::Show() {
|
| if (panel_controller_.get() == NULL) {
|
| panel_controller_.reset(new PanelController(this, GetNativeHandle()));
|
|
|