Index: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc |
diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc b/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc |
index 372cb8e30916035ab0f1e2e2d3ab109525104e98..0e2122aca193a6b5c49c0afaf223a3c3f46f9347 100644 |
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc |
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc |
@@ -416,7 +416,7 @@ IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, Download) { |
ASSERT_TRUE(download_directory.CreateUniqueTempDir()); |
DownloadPrefs* download_prefs = |
DownloadPrefs::FromBrowserContext(browser()->profile()); |
- download_prefs->SetDownloadPath(download_directory.path()); |
+ download_prefs->SetDownloadPath(download_directory.GetPath()); |
DownloadTestObserverNotInProgress download_observer( |
content::BrowserContext::GetDownloadManager(profile()), 1); |