summaryrefslogtreecommitdiffstats
path: root/base/logging.cc
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-08 13:35:58 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-08 13:35:58 +0000
commit53f137aa005e19a01f7915cffc85350e6f7097f7 (patch)
tree7f312c7f0a9ec6b930a67a795c9dd016d9479545 /base/logging.cc
parentf6abebaff2f9cc1b04dfa986c6b4a79cb3c0af5e (diff)
downloadchromium_src-53f137aa005e19a01f7915cffc85350e6f7097f7.zip
chromium_src-53f137aa005e19a01f7915cffc85350e6f7097f7.tar.gz
chromium_src-53f137aa005e19a01f7915cffc85350e6f7097f7.tar.bz2
fix recursion
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@562 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/logging.cc')
-rw-r--r--base/logging.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/logging.cc b/base/logging.cc
index 559934b..98f6755 100644
--- a/base/logging.cc
+++ b/base/logging.cc
@@ -150,7 +150,7 @@ void CloseFile(FileHandle log) {
#endif
}
-void DeleteFile(PathChar* log_name) {
+void DeleteFilePath(PathChar* log_name) {
#if defined(OS_WIN)
DeleteFile(log_name);
#else
@@ -256,7 +256,7 @@ void InitLogging(const PathChar* new_log_file, LoggingDestination logging_dest,
strlcpy(log_file_name, new_log_file, arraysize(log_file_name));
#endif
if (delete_old == DELETE_OLD_LOG_FILE)
- DeleteFile(log_file_name);
+ DeleteFilePath(log_file_name);
if (lock_log_file == LOCK_LOG_FILE) {
InitLogMutex();