summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-31 01:49:48 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-31 01:49:48 +0000
commit52d71ad0e30d0b47ed7d156fc28a1c701fdf1ef2 (patch)
tree20ef5252aa4af75dc226da119eb94ac71adc432c /base
parent062ca55c85775389f8051d92e3de2aee18690a71 (diff)
downloadchromium_src-52d71ad0e30d0b47ed7d156fc28a1c701fdf1ef2.zip
chromium_src-52d71ad0e30d0b47ed7d156fc28a1c701fdf1ef2.tar.gz
chromium_src-52d71ad0e30d0b47ed7d156fc28a1c701fdf1ef2.tar.bz2
AbsolutePath should probably actually use its input somewhere.
Review URL: http://codereview.chromium.org/8948 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4263 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/file_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/file_util.cc b/base/file_util.cc
index e196ff8..5644c87 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();