Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8558)

Unified Diff: chrome/browser/ui/views/select_file_dialog_extension.cc

Issue 8692006: Fix for cant reopen file dialog after close it by x button or alt+f4 (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Format. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/select_file_dialog_extension.cc
diff --git a/chrome/browser/ui/views/select_file_dialog_extension.cc b/chrome/browser/ui/views/select_file_dialog_extension.cc
index 132daa2e82868892c3bd928894395c6aea4b2d09..51e9f4433c91bef6843fea354214981ffce06f51 100644
--- a/chrome/browser/ui/views/select_file_dialog_extension.cc
+++ b/chrome/browser/ui/views/select_file_dialog_extension.cc
@@ -212,7 +212,7 @@ void SelectFileDialogExtension::SelectFileImpl(
// possible.
int32 tab_id = tab ? tab->restore_tab_helper()->session_id().id() : 0;
if (PendingExists(tab_id))
- return;
+ PendingDialog::GetInstance()->Remove(tab_id);
Rick Byers 2011/11/25 15:06:06 I haven't looked at the code in detail, but doesn'
bshe 2011/11/25 17:58:49 I am not sure when and how a user attempts to open
FilePath virtual_path;
if (!file_manager_util::ConvertFileToRelativeFileSystemPath(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698