diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-22 13:06:25 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-22 13:06:25 +0000 |
commit | 6489634ec4be1b6b3e9a733741e7b2cf79895763 (patch) | |
tree | 0cb0187edb19c136d675e541d99bf61ae01653a8 /content/browser/download | |
parent | c20c7b4d6b19fd347be40fe50832d3d49c986871 (diff) | |
download | chromium_src-6489634ec4be1b6b3e9a733741e7b2cf79895763.zip chromium_src-6489634ec4be1b6b3e9a733741e7b2cf79895763.tar.gz chromium_src-6489634ec4be1b6b3e9a733741e7b2cf79895763.tar.bz2 |
Fix a NULL check typo in DownloadBuffer.
CID=101516,101809
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/9005019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115521 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/download')
-rw-r--r-- | content/browser/download/download_buffer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/download/download_buffer.cc b/content/browser/download/download_buffer.cc index eadb60b..c8d5c80 100644 --- a/content/browser/download/download_buffer.cc +++ b/content/browser/download/download_buffer.cc @@ -9,7 +9,7 @@ namespace content { net::IOBuffer* AssembleData(const ContentVector& contents, size_t* num_bytes) { - if (*num_bytes) + if (num_bytes) *num_bytes = 0; size_t data_len; |