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 2743f32b2f0e9fa3abeaa139dbb5c66739c99b8b..354eaeca8e52048b131320782ff678bada40ecdc 100644 |
--- a/chrome/browser/web_applications/web_app_mac.mm |
+++ b/chrome/browser/web_applications/web_app_mac.mm |
@@ -269,7 +269,7 @@ bool WebAppShortcutCreator::BuildShortcut( |
const base::FilePath& staging_path) const { |
// Update the app's plist and icon in a temp directory. This works around |
// a Finder bug where the app's icon doesn't properly update. |
- if (!file_util::CopyDirectory(GetAppLoaderPath(), staging_path, true)) { |
+ if (!base::CopyDirectory(GetAppLoaderPath(), staging_path, true)) { |
LOG(ERROR) << "Copying app to staging path: " << staging_path.value() |
<< " failed."; |
return false; |
@@ -304,7 +304,7 @@ size_t WebAppShortcutCreator::CreateShortcutsIn( |
for (std::vector<base::FilePath>::const_iterator it = folders.begin(); |
it != folders.end(); ++it) { |
const base::FilePath& dst_path = *it; |
- if (!file_util::CopyDirectory(staging_path, dst_path, true)) { |
+ if (!base::CopyDirectory(staging_path, dst_path, true)) { |
LOG(ERROR) << "Copying app to dst path: " << dst_path.value() |
<< " failed"; |
return succeeded; |