| Index: content/browser/download/download_browsertest.cc
|
| diff --git a/content/browser/download/download_browsertest.cc b/content/browser/download/download_browsertest.cc
|
| index 673d71cb4aebed95afc91c286eda4fcf40635ff7..a4cea828ff8f7e9454606fb21391c6b4f0825657 100644
|
| --- a/content/browser/download/download_browsertest.cc
|
| +++ b/content/browser/download/download_browsertest.cc
|
| @@ -559,7 +559,8 @@ class DownloadContentTest : public ContentBrowserTest {
|
| ASSERT_TRUE(downloads_directory_.CreateUniqueTempDir());
|
|
|
| test_delegate_.reset(new TestShellDownloadManagerDelegate());
|
| - test_delegate_->SetDownloadBehaviorForTesting(downloads_directory_.path());
|
| + test_delegate_->SetDownloadBehaviorForTesting(
|
| + downloads_directory_.GetPath());
|
| DownloadManager* manager = DownloadManagerForShell(shell());
|
| manager->GetDelegate()->Shutdown();
|
| manager->SetDelegate(test_delegate_.get());
|
| @@ -585,7 +586,7 @@ class DownloadContentTest : public ContentBrowserTest {
|
| }
|
|
|
| const base::FilePath& GetDownloadDirectory() const {
|
| - return downloads_directory_.path();
|
| + return downloads_directory_.GetPath();
|
| }
|
|
|
| // Create a DownloadTestObserverTerminal that will wait for the
|
|
|