Index: chrome/browser/download/download_prefs.cc |
diff --git a/chrome/browser/download/download_prefs.cc b/chrome/browser/download/download_prefs.cc |
index 2ca353b4432b7dd07a9f260c96ff803c34f4d2ef..b9e1224e8844581aa74abff321263d6e58530595 100644 |
--- a/chrome/browser/download/download_prefs.cc |
+++ b/chrome/browser/download/download_prefs.cc |
@@ -130,7 +130,7 @@ FilePath DownloadPrefs::DownloadPath() const { |
// If the download path is under /drive, and DriveSystemService isn't |
// available (which it isn't for incognito mode, for instance), use the |
// default download directory (/Downloads). |
- if (gdata::util::IsUnderGDataMountPoint(*download_path_) && |
+ if (gdata::util::IsUnderDriveMountPoint(*download_path_) && |
!gdata::DriveSystemServiceFactory::GetForProfile(profile_)) |
return download_util::GetDefaultDownloadDirectory(); |
#endif |