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

Unified Diff: base/file_util.cc

Issue 8948: AbsolutePath should probably actually use its input somewhere. (Closed)
Patch Set: Created 12 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util.cc
diff --git a/base/file_util.cc b/base/file_util.cc
index e196ff8c122531b2d3cff5a7ee9d918d57f14b8c..5644c8781c3450c9b93687fea5fb06e2b010539b 100644
--- a/base/file_util.cc
+++ b/base/file_util.cc
@@ -298,7 +298,7 @@ bool CloseFile(FILE* file) {
// Deprecated functions ----------------------------------------------------
bool AbsolutePath(std::wstring* path_str) {
- FilePath path;
+ FilePath path(*path_str);
if (!AbsolutePath(&path))
return false;
*path_str = path.ToWStringHack();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698