diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-30 03:45:44 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-30 03:45:44 +0000 |
commit | 5924fb63dc581087092336c3449e80a24d848492 (patch) | |
tree | 97f74b10de659f977d0d14579eabf689708498c2 /chrome/worker | |
parent | eb391e3a3c477b011af28391d185ec2e9cd42cae (diff) | |
download | chromium_src-5924fb63dc581087092336c3449e80a24d848492.zip chromium_src-5924fb63dc581087092336c3449e80a24d848492.tar.gz chromium_src-5924fb63dc581087092336c3449e80a24d848492.tar.bz2 |
Coverity: Initialize all member variables in the constructor.
CID=4839
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/242064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27593 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/worker')
-rw-r--r-- | chrome/worker/nativewebworker_impl.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/worker/nativewebworker_impl.cc b/chrome/worker/nativewebworker_impl.cc index 9dfd739..1383e63 100644 --- a/chrome/worker/nativewebworker_impl.cc +++ b/chrome/worker/nativewebworker_impl.cc @@ -109,7 +109,12 @@ WebKit::WebWorker* NativeWebWorkerImpl::create( } NativeWebWorkerImpl::NativeWebWorkerImpl(WebKit::WebWorkerClient* client) - : client_(client) { + : client_(client), + nap_(NULL), + channel_(NULL), + upcall_thread_(NULL) { + descs_[0] = NULL; + descs_[1] = NULL; } NativeWebWorkerImpl::~NativeWebWorkerImpl() { |