Index: chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc |
diff --git a/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc b/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc |
index 0cf7fde176a0e39b7ae2117e9766c6818ccf6fbd..a925f28c3dd5951389c3b1185c79bac1db491ce3 100644 |
--- a/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc |
+++ b/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc |
@@ -32,7 +32,6 @@ |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/shell_dialogs/select_file_dialog.h" |
#include "ui/strings/grit/ui_strings.h" |
-#include "ui/views/widget/desktop_aura/x11_desktop_handler.h" |
namespace { |
@@ -169,8 +168,7 @@ void SelectFileDialogImplGTK::SelectFileImpl( |
// We need to call gtk_window_present after making the widgets visible to make |
// sure window gets correctly raised and gets focus. |
- int time = views::X11DesktopHandler::get()->wm_user_time_ms(); |
- gtk_window_present_with_time(GTK_WINDOW(dialog), time); |
+ gtk_window_present(GTK_WINDOW(dialog)); |
} |
void SelectFileDialogImplGTK::AddFilters(GtkFileChooser* chooser) { |