diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-21 00:12:39 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-21 00:12:39 +0000 |
commit | b1a975e5d378cea4913320f401f507119ce58fbb (patch) | |
tree | f53f61c734183c7426852ad9a002a879e548bb17 /chrome/browser/ui/snapshot_tab_helper.cc | |
parent | 4b1c1134d7b7dbfd5e0fcdec39a79390364c9f16 (diff) | |
download | chromium_src-b1a975e5d378cea4913320f401f507119ce58fbb.zip chromium_src-b1a975e5d378cea4913320f401f507119ce58fbb.tar.gz chromium_src-b1a975e5d378cea4913320f401f507119ce58fbb.tar.bz2 |
Coverity: Initialize member variables.
CID=6462,16392,16996,17268,100987,101018,102401,102417,102476,102484,102513
102546,102552,102567,102617,102674,102677,102678,102679,102681,102685,
102714,102750,102751,102781
BUG=none
TEST=none
R=groby
Review URL: http://codereview.chromium.org/9005015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/snapshot_tab_helper.cc')
-rw-r--r-- | chrome/browser/ui/snapshot_tab_helper.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/snapshot_tab_helper.cc b/chrome/browser/ui/snapshot_tab_helper.cc index 1a073dc..0078d57 100644 --- a/chrome/browser/ui/snapshot_tab_helper.cc +++ b/chrome/browser/ui/snapshot_tab_helper.cc @@ -10,7 +10,8 @@ #include "content/public/browser/notification_service.h" SnapshotTabHelper::SnapshotTabHelper(TabContentsWrapper* wrapper) - : TabContentsObserver(wrapper->tab_contents()) { + : TabContentsObserver(wrapper->tab_contents()), + wrapper_(wrapper) { } SnapshotTabHelper::~SnapshotTabHelper() { |