| Index: chrome/browser/download/download_file_picker.cc
|
| diff --git a/chrome/browser/download/download_file_picker.cc b/chrome/browser/download/download_file_picker.cc
|
| index 07d1ca315d3e2d5660be2e8b58da13d35b996222..caab315031bebcfa37316eab15d21ece2bf9e3f2 100644
|
| --- a/chrome/browser/download/download_file_picker.cc
|
| +++ b/chrome/browser/download/download_file_picker.cc
|
| @@ -6,12 +6,12 @@
|
|
|
| #include "base/metrics/histogram_macros.h"
|
| #include "chrome/browser/download/download_prefs.h"
|
| -#include "chrome/browser/platform_util.h"
|
| #include "chrome/browser/ui/chrome_select_file_policy.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/download_item.h"
|
| #include "content/public/browser/download_manager.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "ui/gfx/view_util.h"
|
|
|
| using content::DownloadItem;
|
| using content::DownloadManager;
|
| @@ -85,8 +85,8 @@ DownloadFilePicker::DownloadFilePicker(
|
| file_type_info.include_all_files = true;
|
| file_type_info.allowed_paths =
|
| ui::SelectFileDialog::FileTypeInfo::NATIVE_OR_DRIVE_PATH;
|
| - gfx::NativeWindow owning_window = web_contents ?
|
| - platform_util::GetTopLevel(web_contents->GetNativeView()) : NULL;
|
| + gfx::NativeWindow owning_window =
|
| + web_contents ? gfx::GetTopLevel(web_contents->GetNativeView()) : NULL;
|
|
|
| select_file_dialog_->SelectFile(ui::SelectFileDialog::SELECT_SAVEAS_FILE,
|
| base::string16(),
|
|
|