| Index: chrome/browser/extensions/api/file_system/file_system_api.cc
|
| diff --git a/chrome/browser/extensions/api/file_system/file_system_api.cc b/chrome/browser/extensions/api/file_system/file_system_api.cc
|
| index 2591cd970e8265a7e56e0ec45585cead58eca511..99e2a297d26eebf67c8e4be2b99aca84f263e81b 100644
|
| --- a/chrome/browser/extensions/api/file_system/file_system_api.cc
|
| +++ b/chrome/browser/extensions/api/file_system/file_system_api.cc
|
| @@ -29,7 +29,6 @@
|
| #include "chrome/browser/extensions/extension_service.h"
|
| #include "chrome/browser/extensions/extension_util.h"
|
| #include "chrome/browser/extensions/path_util.h"
|
| -#include "chrome/browser/platform_util.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/apps/directory_access_confirmation_dialog.h"
|
| #include "chrome/browser/ui/chrome_select_file_policy.h"
|
| @@ -57,6 +56,7 @@
|
| #include "storage/common/fileapi/file_system_types.h"
|
| #include "storage/common/fileapi/file_system_util.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| +#include "ui/gfx/view_util.h"
|
| #include "ui/shell_dialogs/select_file_dialog.h"
|
| #include "ui/shell_dialogs/selected_file_info.h"
|
|
|
| @@ -646,9 +646,8 @@ class FileSystemChooseEntryFunction::FilePicker
|
| : function_(function) {
|
| select_file_dialog_ = ui::SelectFileDialog::Create(
|
| this, new ChromeSelectFilePolicy(web_contents));
|
| - 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;
|
|
|
| if (g_skip_picker_for_test) {
|
| if (g_use_suggested_path_for_test) {
|
|
|