From a5202c98ef96a71be304140e0f2cc2dc81577be5 Mon Sep 17 00:00:00 2001 From: "ericroman@google.com" Date: Fri, 20 Mar 2009 17:29:09 +0000 Subject: initialize mixed_ in the File(PlatformFile) constructor variant. Review URL: http://codereview.chromium.org/42419 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12193 0039d316-1c4b-4281-b951-d872f2087c98 --- net/disk_cache/file_posix.cc | 2 +- net/disk_cache/file_win.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/disk_cache/file_posix.cc b/net/disk_cache/file_posix.cc index 8985c0d..a7d1c24 100644 --- a/net/disk_cache/file_posix.cc +++ b/net/disk_cache/file_posix.cc @@ -12,7 +12,7 @@ namespace disk_cache { File::File(base::PlatformFile file) - : init_(true), platform_file_(file) { + : init_(true), mixed_(true), platform_file_(file) { } bool File::Init(const std::wstring& name) { diff --git a/net/disk_cache/file_win.cc b/net/disk_cache/file_win.cc index d5a85e1..c2e00b7 100644 --- a/net/disk_cache/file_win.cc +++ b/net/disk_cache/file_win.cc @@ -78,7 +78,7 @@ MessageLoopForIO::IOHandler* GetFileIOHandler() { } File::File(base::PlatformFile file) - : init_(true), platform_file_(INVALID_HANDLE_VALUE), + : init_(true), mixed_(true), platform_file_(INVALID_HANDLE_VALUE), sync_platform_file_(file) { } -- cgit v1.1