summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/views/bookmark_bubble_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/bookmark_bubble_view.cc b/chrome/browser/views/bookmark_bubble_view.cc
index c85052f..f0acd1f 100644
--- a/chrome/browser/views/bookmark_bubble_view.cc
+++ b/chrome/browser/views/bookmark_bubble_view.cc
@@ -411,8 +411,8 @@ void BookmarkBubbleView::ShowEditor() {
// restored to the browser.
ShowWindow(GetWidget()->GetNativeView(), SW_HIDE);
#else
- NOTIMPLEMENTED(); // TODO(brettw) find the parent.
- gfx::NativeView parent = NULL;
+ gfx::NativeView parent = GTK_WIDGET(
+ static_cast<views::WidgetGtk*>(GetWidget())->GetTransientParent());
#endif
// Even though we just hid the window, we need to invoke Close to schedule