[M120 Migration] Disable Select file on Chrome 23/306523/2
authorRohit Kumar <rohit.16@partner.samsung.com>
Thu, 22 Feb 2024 11:02:46 +0000 (16:32 +0530)
committerBot Blink <blinkbot@samsung.com>
Fri, 23 Feb 2024 06:34:33 +0000 (06:34 +0000)
Chrome is freezing when file system is accessed. This
patch disables the select file functionality.

Reference: https://review.tizen.org/gerrit/304907

Change-Id: Ifb5f9c3ccf573a1bcebcbd9133547be1cb43d4f3
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
ui/shell_dialogs/select_file_dialog.cc

index e2c00b2..91381f7 100644 (file)
@@ -126,6 +126,9 @@ void SelectFileDialog::SelectFile(
     gfx::NativeWindow owning_window,
     void* params,
     const GURL* caller) {
+#if defined(BUILD_CHROME)
+  return;
+#endif
   DCHECK(listener_);
 
   if (select_file_policy_.get() &&