Index: chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc |
diff --git a/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc b/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc |
index 7b567b980754838f9de55459924fff4df629daeb..a0178a7bd475ad6ce09dd8343839b710922b8682 100644 |
--- a/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc |
+++ b/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc |
@@ -299,7 +299,7 @@ void SelectFileDialogImplKDE::GetKDialogCommandLine(const std::string& type, |
CHECK(command_line); |
// Attach to the current Chrome window. |
- int window_id = parent->GetDispatcher()->GetAcceleratedWidget(); |
+ int window_id = parent->GetDispatcher()->host()->GetAcceleratedWidget(); |
command_line->AppendSwitchNative( |
desktop_ == base::nix::DESKTOP_ENVIRONMENT_KDE3 ? "--embed" : "--attach", |
base::IntToString(window_id)); |