summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/util/user_settings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/util/user_settings.cc')
-rw-r--r--chrome/browser/sync/util/user_settings.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/sync/util/user_settings.cc b/chrome/browser/sync/util/user_settings.cc
index d9ff1bd..6dbde96 100644
--- a/chrome/browser/sync/util/user_settings.cc
+++ b/chrome/browser/sync/util/user_settings.cc
@@ -88,8 +88,8 @@ void UserSettings::MigrateOldVersionsAsNeeded(sqlite3* const handle,
GetColumn(share_query.get(), 0, &share_name);
GetColumn(share_query.get(), 1, &file_name);
- if (!file_util::Move(file_name,
- DirectoryManager::GetSyncDataDatabaseFilename())) {
+ if (!file_util::Move(FilePath(file_name),
+ FilePath(DirectoryManager::GetSyncDataDatabaseFilename()))) {
LOG(WARNING) << "Unable to upgrade UserSettings from v10";
return;
}