Index: chrome/browser/download/download_path_reservation_tracker.cc |
diff --git a/chrome/browser/download/download_path_reservation_tracker.cc b/chrome/browser/download/download_path_reservation_tracker.cc |
index a9241643dd70119ab0cfad98f13a1fc948d467b9..ce8bbb9cc9687e43e8a281e40c6b1863cfe15a68 100644 |
--- a/chrome/browser/download/download_path_reservation_tracker.cc |
+++ b/chrome/browser/download/download_path_reservation_tracker.cc |
@@ -198,7 +198,7 @@ void CreateReservation( |
if (is_path_writeable) { |
// Check the limit of file name length if it could be obtained. When the |
// suggested name exceeds the limit, truncate or prompt the user. |
- int max_length = file_util::GetMaximumPathComponentLength(target_dir); |
+ int max_length = base::GetMaximumPathComponentLength(target_dir); |
if (max_length != -1) { |
int limit = max_length - kIntermediateNameSuffixLength; |
if (limit <= 0 || !TruncateFileName(&target_path, limit)) |