Index: base/platform_file_win.cc |
diff --git a/base/platform_file_win.cc b/base/platform_file_win.cc |
index 351d25c886adb170a48baab3d06d4f6f0943eed3..af786ab090a3150935b9a255816f0422dd6c3566 100644 |
--- a/base/platform_file_win.cc |
+++ b/base/platform_file_win.cc |
@@ -13,15 +13,6 @@ |
namespace base { |
-FILE* FdopenPlatformFile(PlatformFile file, const char* mode) { |
- if (file == kInvalidPlatformFileValue) |
- return NULL; |
- int fd = _open_osfhandle(reinterpret_cast<intptr_t>(file), 0); |
- if (fd < 0) |
- return NULL; |
- return _fdopen(fd, mode); |
-} |
- |
bool ClosePlatformFile(PlatformFile file) { |
base::ThreadRestrictions::AssertIOAllowed(); |
return (CloseHandle(file) != 0); |