Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5441)

Unified Diff: chrome/installer/util/work_item_list.cc

Issue 6377011: wstring: use a few more FilePaths to remove Hack functions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix2 Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/util/work_item.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/work_item_list.cc
diff --git a/chrome/installer/util/work_item_list.cc b/chrome/installer/util/work_item_list.cc
index 28e28292f7e427a1f903ea73996859d68aa5849b..05c0b583c39030e07c1623f8f1d3cacbf86d94b6 100644
--- a/chrome/installer/util/work_item_list.cc
+++ b/chrome/installer/util/work_item_list.cc
@@ -78,11 +78,11 @@ WorkItem* WorkItemList::AddCopyTreeWorkItem(
const std::wstring& temp_dir,
CopyOverWriteOption overwrite_option,
const std::wstring& alternative_path) {
- WorkItem* item = WorkItem::CreateCopyTreeWorkItem(source_path,
- dest_path,
- temp_dir,
+ WorkItem* item = WorkItem::CreateCopyTreeWorkItem(FilePath(source_path),
+ FilePath(dest_path),
+ FilePath(temp_dir),
overwrite_option,
- alternative_path);
+ FilePath(alternative_path));
AddWorkItem(item);
return item;
}
« no previous file with comments | « chrome/installer/util/work_item.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698