| Index: chrome/browser/ui/views/fullscreen_exit_bubble.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/fullscreen_exit_bubble.cc (revision 85284)
|
| +++ chrome/browser/ui/views/fullscreen_exit_bubble.cc (working copy)
|
| @@ -132,8 +132,7 @@
|
| this, UTF16ToWideHack(accelerator.GetShortcutText()));
|
|
|
| // Initialize the popup.
|
| - popup_ = views::Widget::CreateWidget();
|
| - popup_->SetOpacity(static_cast<unsigned char>(0xff * kOpacity));
|
| + popup_ = new views::Widget;
|
| views::Widget::InitParams params(views::Widget::InitParams::TYPE_POPUP);
|
| params.transparent = true;
|
| params.can_activate = false;
|
| @@ -142,6 +141,7 @@
|
| params.bounds = GetPopupRect(false);
|
| popup_->Init(params);
|
| popup_->SetContentsView(view_);
|
| + popup_->SetOpacity(static_cast<unsigned char>(0xff * kOpacity));
|
| popup_->Show(); // This does not activate the popup.
|
|
|
| // Start the initial delay timer and begin watching the mouse.
|
|
|