Index: chrome/browser/chromeos/drive/file_system_util.cc |
diff --git a/chrome/browser/chromeos/drive/file_system_util.cc b/chrome/browser/chromeos/drive/file_system_util.cc |
index db13b712cb4139e828fd7661cf43ce27b8ad0460..0396cca02a32ac21b0d6ca2b1e0e43f2785be0b7 100644 |
--- a/chrome/browser/chromeos/drive/file_system_util.cc |
+++ b/chrome/browser/chromeos/drive/file_system_util.cc |
@@ -212,7 +212,7 @@ base::FilePath DriveURLToFilePath(const GURL& url) { |
if (!url.is_valid() || url.scheme() != chrome::kDriveScheme) |
return base::FilePath(); |
std::string path_string = net::UnescapeURLComponent( |
- url.path(), net::UnescapeRule::NORMAL); |
+ url.Content(), net::UnescapeRule::NORMAL); |
return base::FilePath::FromUTF8Unsafe(path_string); |
} |
@@ -274,7 +274,7 @@ base::FilePath ExtractDrivePathFromFileSystemUrl( |
const fileapi::FileSystemURL& url) { |
if (!url.is_valid() || url.type() != fileapi::kFileSystemTypeDrive) |
return base::FilePath(); |
- return ExtractDrivePath(url.path()); |
+ return ExtractDrivePath(url.Content()); |
} |
base::FilePath GetCacheRootPath(Profile* profile) { |