Index: chrome/browser/gtk/bookmark_editor_gtk.cc |
=================================================================== |
--- chrome/browser/gtk/bookmark_editor_gtk.cc (revision 17017) |
+++ chrome/browser/gtk/bookmark_editor_gtk.cc (working copy) |
@@ -33,7 +33,7 @@ |
} // namespace |
// static |
-void BookmarkEditor::Show(gfx::NativeWindow parent_hwnd, |
+void BookmarkEditor::Show(gfx::NativeView parent_hwnd, |
Profile* profile, |
BookmarkNode* parent, |
BookmarkNode* node, |
@@ -41,8 +41,8 @@ |
Handler* handler) { |
DCHECK(profile); |
BookmarkEditorGtk* editor = |
- new BookmarkEditorGtk(parent_hwnd, profile, parent, node, configuration, |
- handler); |
+ new BookmarkEditorGtk(GTK_WINDOW(gtk_widget_get_toplevel(parent_hwnd)), |
+ profile, parent, node, configuration, handler); |
editor->Show(); |
} |