diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-20 17:29:09 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-20 17:29:09 +0000 |
commit | a5202c98ef96a71be304140e0f2cc2dc81577be5 (patch) | |
tree | c88debb02eaffe75ac7f1730e0ded22e2575846a | |
parent | b77280cd79ae5d01139278e5d1c4632a488a4d2a (diff) | |
download | chromium_src-a5202c98ef96a71be304140e0f2cc2dc81577be5.zip chromium_src-a5202c98ef96a71be304140e0f2cc2dc81577be5.tar.gz chromium_src-a5202c98ef96a71be304140e0f2cc2dc81577be5.tar.bz2 |
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
-rw-r--r-- | net/disk_cache/file_posix.cc | 2 | ||||
-rw-r--r-- | 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) { } |