diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-24 18:37:58 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-24 18:37:58 +0000 |
commit | e23c6c9ea366823dca0f5ec9e3fc756d0180373a (patch) | |
tree | 4136441c5f11e2b95038c697252a69a763c5aeb7 /base/platform_file_win.cc | |
parent | 7e4576de1a1a54e2b1a6d7c1126b845c638cf1c2 (diff) | |
download | chromium_src-e23c6c9ea366823dca0f5ec9e3fc756d0180373a.zip chromium_src-e23c6c9ea366823dca0f5ec9e3fc756d0180373a.tar.gz chromium_src-e23c6c9ea366823dca0f5ec9e3fc756d0180373a.tar.bz2 |
Revert "Fix the case where the browser livelocks if we cannot open a file."
(Still breaks Mac net_unittests. Damm you Mac.)
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39901 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/platform_file_win.cc')
-rw-r--r-- | base/platform_file_win.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/base/platform_file_win.cc b/base/platform_file_win.cc index ccaee1e..1143487 100644 --- a/base/platform_file_win.cc +++ b/base/platform_file_win.cc @@ -75,12 +75,4 @@ bool ClosePlatformFile(PlatformFile file) { return (CloseHandle(file) == 0); } -bool GetPlatformFileSize(PlatformFile file, uint64* out_size) { - LARGE_INTEGER size; - if (!GetFileSizeEx(file, &size)) - return false; - *out_size = size.QuadPart; - return true; -} - } // namespace disk_cache |