Index: chrome/test/automation/proxy_launcher.cc |
diff --git a/chrome/test/automation/proxy_launcher.cc b/chrome/test/automation/proxy_launcher.cc |
index 98ba947f1d3ee46a37973075255e28857e0f7c45..2934a6bc587543a054ef001ce2c07df2393cde73 100644 |
--- a/chrome/test/automation/proxy_launcher.cc |
+++ b/chrome/test/automation/proxy_launcher.cc |
@@ -186,8 +186,8 @@ bool ProxyLauncher::LaunchBrowser(const LaunchState& state) { |
if (!state.template_user_data.empty()) { |
// Recursively copy the template directory to the user_data_dir. |
- if (!file_util::CopyRecursiveDirNoCache( |
- state.template_user_data, user_data_dir())) { |
+ if (!file_util::CopyDirectory(state.template_user_data, user_data_dir(), |
+ true)) { |
LOG(ERROR) << "Failed to copy user data directory template."; |
return false; |
} |