diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-24 09:20:54 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-24 09:20:54 +0000 |
commit | b3d9304d6771121ce9eb3a893b9ad02ccef571ce (patch) | |
tree | 39261d1c8b282e067c48d19b1df509e91f188c5d | |
parent | eb8266fa40f1764a43a4fe7ecd9edcb321f76c56 (diff) | |
download | chromium_src-b3d9304d6771121ce9eb3a893b9ad02ccef571ce.zip chromium_src-b3d9304d6771121ce9eb3a893b9ad02ccef571ce.tar.gz chromium_src-b3d9304d6771121ce9eb3a893b9ad02ccef571ce.tar.bz2 |
Coverity issue 1577: Uninitialized member in dom_ui_bindings.h
BUG=None (Coverity issue id listed above)
TEST=None
Review URL: http://codereview.chromium.org/3051011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53582 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/renderer/dom_ui_bindings.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/chrome/renderer/dom_ui_bindings.h b/chrome/renderer/dom_ui_bindings.h index b4ad992..1f3d831 100644 --- a/chrome/renderer/dom_ui_bindings.h +++ b/chrome/renderer/dom_ui_bindings.h @@ -1,9 +1,9 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. -#ifndef CHROME_RENDERER_DOM_UI_BINDINGS_H__ -#define CHROME_RENDERER_DOM_UI_BINDINGS_H__ +#ifndef CHROME_RENDERER_DOM_UI_BINDINGS_H_ +#define CHROME_RENDERER_DOM_UI_BINDINGS_H_ #include "ipc/ipc_message.h" #include "webkit/glue/cpp_bound_class.h" @@ -13,7 +13,9 @@ // in the browser process. class DOMBoundBrowserObject : public CppBoundClass { public: - DOMBoundBrowserObject() : routing_id_(0) { } + DOMBoundBrowserObject() + : sender_(NULL), + routing_id_(0) { } virtual ~DOMBoundBrowserObject(); // Set the message channel back to the browser. @@ -64,4 +66,4 @@ class DOMUIBindings : public DOMBoundBrowserObject { DISALLOW_COPY_AND_ASSIGN(DOMUIBindings); }; -#endif // CHROME_RENDERER_DOM_UI_BINDINGS_H__ +#endif // CHROME_RENDERER_DOM_UI_BINDINGS_H_ |