We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc7d058 commit 41f6de0Copy full SHA for 41f6de0
src/browser/file_select_helper.cc
@@ -397,13 +397,8 @@ void FileSelectHelper::RunFileChooserOnUIThread(
397
FilePath default_file_name = params.default_file_name;
398
FilePath working_path = params.initial_path;
399
400
-#if defined(OS_WIN)
401
- gfx::NativeWindow owning_window =
402
- (gfx::NativeWindow)::GetAncestor((HWND)render_view_host_->GetView()->GetNativeView(), GA_ROOT);
403
-#else
404
gfx::NativeWindow owning_window =
405
platform_util::GetTopLevel(render_view_host_->GetView()->GetNativeView());
406
-#endif
407
408
select_file_dialog_->SelectFile(
409
dialog_type_,
0 commit comments