summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 18:09:20 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 18:09:20 +0000
commitb1ed7b9beaf3069b54084c453da6db6bed56607c (patch)
treeb0a13dc57920d8941858cc4f29ff89ab11eb0772
parentf0c3a1a1009c7823d03c5646b521cd8576776811 (diff)
downloadchromium_src-b1ed7b9beaf3069b54084c453da6db6bed56607c.zip
chromium_src-b1ed7b9beaf3069b54084c453da6db6bed56607c.tar.gz
chromium_src-b1ed7b9beaf3069b54084c453da6db6bed56607c.tar.bz2
Coverity: Initialize member variables in the constructor.
CID=1634 BUG=none TEST=none Review URL: http://codereview.chromium.org/242041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27510 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/browser_accessibility.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/chrome/browser/browser_accessibility.h b/chrome/browser/browser_accessibility.h
index 43b8b19..8833d88 100644
--- a/chrome/browser/browser_accessibility.h
+++ b/chrome/browser/browser_accessibility.h
@@ -32,7 +32,14 @@ class ATL_NO_VTABLE BrowserAccessibility
COM_INTERFACE_ENTRY(IAccessible)
END_COM_MAP()
- BrowserAccessibility() {}
+ BrowserAccessibility()
+ : iaccessible_id_(-1),
+ routing_id_(-1),
+ process_id_(-1),
+ parent_hwnd_(NULL),
+ instance_active_(false) {
+ }
+
~BrowserAccessibility() {}
HRESULT Initialize(int iaccessible_id,