diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-15 09:56:27 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-15 09:56:27 +0000 |
commit | 32aa75b19e298e5998367fbe5507655533651217 (patch) | |
tree | 5ac1e8f5cd7cd9bbcf2a96499aff2e36fc4f7c90 /base | |
parent | 8703b2b019d923536a9ad4a8eda2053aa7c7472e (diff) | |
download | chromium_src-32aa75b19e298e5998367fbe5507655533651217.zip chromium_src-32aa75b19e298e5998367fbe5507655533651217.tar.gz chromium_src-32aa75b19e298e5998367fbe5507655533651217.tar.bz2 |
Initialize RelayWrite member.
BUG=None
TEST=None
CID=12959
Review URL: http://codereview.chromium.org/6569005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78183 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/file_util_proxy.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/base/file_util_proxy.cc b/base/file_util_proxy.cc index d357e98..1d5b9cc 100644 --- a/base/file_util_proxy.cc +++ b/base/file_util_proxy.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -570,7 +570,8 @@ class RelayWrite : public MessageLoopRelay { offset_(offset), buffer_(new char[bytes_to_write]), bytes_to_write_(bytes_to_write), - callback_(callback) { + callback_(callback), + bytes_written_(0) { memcpy(buffer_.get(), buffer, bytes_to_write); } |