| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 6fa115c4624fc68d28f05b2ed52eab81389bc2e9..31f8c0f438c43cacbfc501c2d8047aa596a5cb83 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -885,7 +885,7 @@ void Browser::OverrideEncoding(int encoding_id) {
|
| }
|
| }
|
|
|
| -void Browser::OpenFile() {
|
| +ui::SelectFileDialog* Browser::OpenFile() {
|
| content::RecordAction(UserMetricsAction("OpenFile"));
|
| select_file_dialog_ = ui::SelectFileDialog::Create(
|
| this, new ChromeSelectFilePolicy(
|
| @@ -905,6 +905,7 @@ void Browser::OpenFile() {
|
| base::FilePath::StringType(),
|
| parent_window,
|
| NULL);
|
| + return select_file_dialog_.get();
|
| }
|
|
|
| void Browser::UpdateDownloadShelfVisibility(bool visible) {
|
|
|