diff options
Diffstat (limited to 'chrome/browser/views/info_bubble.cc')
-rw-r--r-- | chrome/browser/views/info_bubble.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/views/info_bubble.cc b/chrome/browser/views/info_bubble.cc index 230fcb6..41907af 100644 --- a/chrome/browser/views/info_bubble.cc +++ b/chrome/browser/views/info_bubble.cc @@ -338,9 +338,7 @@ void InfoBubble::Init(views::Widget* parent, #elif defined(OS_LINUX) MakeTransparent(); make_transient_to_parent(); - WidgetGtk::Init( - GTK_WIDGET(static_cast<WidgetGtk*>(parent)->GetNativeView()), - gfx::Rect()); + WidgetGtk::InitWithWidget(parent, gfx::Rect()); #if defined(OS_CHROMEOS) chromeos::WmIpc::instance()->SetWindowType( GetNativeView(), |