diff options
author | zelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 16:00:39 +0000 |
---|---|---|
committer | zelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 16:00:39 +0000 |
commit | fb51ec89a0d446d8912528d3ef08943891550301 (patch) | |
tree | 15cb46c6d0b34bd41bbafe438bb2f61cfc2dc0c6 /chrome/browser/views/select_file_dialog.cc | |
parent | 851fd8e6dd20f647944f9c2c9c003b911bef9b77 (diff) | |
download | chromium_src-fb51ec89a0d446d8912528d3ef08943891550301.zip chromium_src-fb51ec89a0d446d8912528d3ef08943891550301.tar.gz chromium_src-fb51ec89a0d446d8912528d3ef08943891550301.tar.bz2 |
Fixed crash in bookmark manager crashes when closing file browser window
BUG=39109
TEST=open bookmark manager, select Tools/Import/export, click on cancel, make sure it does not crash
Review URL: http://codereview.chromium.org/1521024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/select_file_dialog.cc')
-rw-r--r-- | chrome/browser/views/select_file_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/select_file_dialog.cc b/chrome/browser/views/select_file_dialog.cc index a12d36f..d9c9cc0 100644 --- a/chrome/browser/views/select_file_dialog.cc +++ b/chrome/browser/views/select_file_dialog.cc @@ -67,7 +67,7 @@ class SelectFileDialogImpl : public SelectFileDialog { void* params); // Owner of this FileBrowseDelegate. - SelectFileDialogImpl* owner_; + scoped_refptr<SelectFileDialogImpl> owner_; // Parent window. gfx::NativeWindow parent_; |