diff options
author | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-03 18:07:18 +0000 |
---|---|---|
committer | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-03 18:07:18 +0000 |
commit | 1e311fd47619432954254cdf442eb743748d371f (patch) | |
tree | c94bc55182639598f5ddcaa4f0c0f5f41813756c /net | |
parent | 1252dad25c795900b09d11dfa57601d348067d04 (diff) | |
download | chromium_src-1e311fd47619432954254cdf442eb743748d371f.zip chromium_src-1e311fd47619432954254cdf442eb743748d371f.tar.gz chromium_src-1e311fd47619432954254cdf442eb743748d371f.tar.bz2 |
fix a typo that caused test failures in debug mode
TBR=darin
Review URL: http://codereview.chromium.org/9252
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4458 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/file_stream_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/file_stream_win.cc b/net/base/file_stream_win.cc index e59ef0d..d7b3d1d 100644 --- a/net/base/file_stream_win.cc +++ b/net/base/file_stream_win.cc @@ -223,7 +223,7 @@ int FileStream::Write( const char* buf, int buf_len, CompletionCallback* callback) { if (!IsOpen()) return ERR_UNEXPECTED; - DCHECK(open_flags_ & base::PLATFORM_FILE_READ); + DCHECK(open_flags_ & base::PLATFORM_FILE_WRITE); OVERLAPPED* overlapped = NULL; if (async_context_.get()) { |