| Index: chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc (revision 85284)
|
| +++ chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc (working copy)
|
| @@ -346,7 +346,7 @@
|
|
|
| void BookmarkBubbleView::Close() {
|
| ApplyEdits();
|
| - static_cast<Bubble*>(GetWidget())->Close();
|
| + GetWidget()->Close();
|
| }
|
|
|
| void BookmarkBubbleView::HandleButtonPressed(views::Button* sender) {
|
| @@ -387,7 +387,8 @@
|
| ShowWindow(GetWidget()->GetNativeView(), SW_HIDE);
|
| #elif defined(TOOLKIT_USES_GTK)
|
| gfx::NativeWindow parent = GTK_WINDOW(
|
| - static_cast<views::WidgetGtk*>(GetWidget())->GetTransientParent());
|
| + static_cast<views::WidgetGtk*>(GetWidget()->native_widget())->
|
| + GetTransientParent());
|
| #endif
|
|
|
| // Even though we just hid the window, we need to invoke Close to schedule
|
|
|