| Index: chrome/browser/automation/testing_automation_provider.cc
|
| diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
|
| index ce0fc2c88156879a243d50cecdb6d4536025e172..17654b676a98b2d1edbb93e0448259cb63a893aa 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -2643,7 +2643,7 @@ void TestingAutomationProvider::PerformActionOnDownload(
|
| } else if (action == "toggle_open_files_like_this") {
|
| DownloadPrefs* prefs =
|
| DownloadPrefs::FromBrowserContext(selected_item->GetBrowserContext());
|
| - base::FilePath path = selected_item->GetUserVerifiedFilePath();
|
| + base::FilePath path = selected_item->GetTargetFilePath();
|
| if (!selected_item->ShouldOpenFileBasedOnExtension())
|
| prefs->EnableAutoOpenBasedOnExtension(path);
|
| else
|
|
|