summaryrefslogtreecommitdiffstats
path: root/base/file_util.h
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 18:37:46 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 18:37:46 +0000
commitac201f961a6c0151dc596829584339c199527ba5 (patch)
treecd3227c97a495c4a76502fdefd0c498ad72254da /base/file_util.h
parent59d1aacf35db435aa3c5ec0c17a582392627e7a9 (diff)
downloadchromium_src-ac201f961a6c0151dc596829584339c199527ba5.zip
chromium_src-ac201f961a6c0151dc596829584339c199527ba5.tar.gz
chromium_src-ac201f961a6c0151dc596829584339c199527ba5.tar.bz2
Revert 49983 - patch
TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/2847011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50001 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.h')
-rw-r--r--base/file_util.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/base/file_util.h b/base/file_util.h
index 48f431f..a16c5c72 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -35,7 +35,6 @@
#if defined(OS_POSIX)
#include "base/eintr_wrapper.h"
#include "base/file_descriptor_posix.h"
-#include "base/logging.h"
#endif
namespace base {
@@ -378,8 +377,7 @@ class ScopedFDClose {
public:
inline void operator()(int* x) const {
if (x && *x >= 0) {
- if (HANDLE_EINTR(close(*x)) < 0)
- PLOG(ERROR) << "close";
+ HANDLE_EINTR(close(*x));
}
}
};