Index: chrome/browser/web_applications/web_app_mac.mm |
diff --git a/chrome/browser/web_applications/web_app_mac.mm b/chrome/browser/web_applications/web_app_mac.mm |
index cda4da675f1e8cbf8d2a65791183b85dd13a1cec..e731611ac7b60f09664176c3617e8695b6af9ae3 100644 |
--- a/chrome/browser/web_applications/web_app_mac.mm |
+++ b/chrome/browser/web_applications/web_app_mac.mm |
@@ -130,7 +130,7 @@ bool AddGfxImageToIconFamily(IconFamilyHandle icon_family, |
base::FilePath GetWritableApplicationsDirectory() { |
base::FilePath path; |
if (base::mac::GetLocalDirectory(NSApplicationDirectory, &path) && |
- file_util::PathIsWritable(path)) { |
+ base::PathIsWritable(path)) { |
return path; |
} |
if (base::mac::GetUserDirectory(NSApplicationDirectory, &path)) |
@@ -384,7 +384,7 @@ size_t WebAppShortcutCreator::CreateShortcutsIn( |
bool WebAppShortcutCreator::CreateShortcuts() { |
base::FilePath dst_path = GetDestinationPath(); |
- if (dst_path.empty() || !file_util::DirectoryExists(dst_path.DirName())) { |
+ if (dst_path.empty() || !base::DirectoryExists(dst_path.DirName())) { |
LOG(ERROR) << "Couldn't find an Applications directory to copy app to."; |
return false; |
} |