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

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

Issue 7064037: CrOS - Fix crash in file browser the second time you save a file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months 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/file_manager_dialogs.cc
diff --git a/chrome/browser/ui/views/file_manager_dialogs.cc b/chrome/browser/ui/views/file_manager_dialogs.cc
index 926ffc2cde4d4c29e5fc355c06108aa8540c20e8..7e52189b4556feb997ddbf82f4f30bc90a4755fd 100644
--- a/chrome/browser/ui/views/file_manager_dialogs.cc
+++ b/chrome/browser/ui/views/file_manager_dialogs.cc
@@ -86,6 +86,7 @@ void FileManagerDialog::ListenerDestroyed() {
void FileManagerDialog::ExtensionDialogIsClosing(ExtensionDialog* dialog) {
owner_window_ = NULL;
+ FileDialogFunction::Callback::Remove(tab_id_);
}
void FileManagerDialog::SelectFileImpl(
« 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