| Index: chrome/browser/chromeos/frame/panel_controller.cc
|
| ===================================================================
|
| --- chrome/browser/chromeos/frame/panel_controller.cc (revision 83020)
|
| +++ chrome/browser/chromeos/frame/panel_controller.cc (working copy)
|
| @@ -141,10 +141,11 @@
|
| WmIpcPanelUserResizeType resize_type) {
|
| gfx::Rect title_bounds(0, 0, window_bounds.width(), kTitleHeight);
|
|
|
| + title_window_ = views::Widget::CreateWidget();
|
| views::Widget::CreateParams params(views::Widget::CreateParams::TYPE_WINDOW);
|
| params.transparent = true;
|
| - title_window_ = views::Widget::CreateWidget(params);
|
| - title_window_->Init(NULL, title_bounds);
|
| + params.bounds = title_bounds;
|
| + title_window_->Init(params);
|
| gtk_widget_set_size_request(title_window_->GetNativeView(),
|
| title_bounds.width(), title_bounds.height());
|
| title_ = title_window_->GetNativeView();
|
|
|