diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-02 17:27:10 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-02 17:27:10 +0000 |
commit | 1d0f1bbc3a10c0c600fab6cf9c7041afe0c62670 (patch) | |
tree | e663fee9b24544bd6eed0cbc2458e04d5661336f /chrome | |
parent | 16dcd30c215801941d9890859fd79a234128fc3e (diff) | |
download | chromium_src-1d0f1bbc3a10c0c600fab6cf9c7041afe0c62670.zip chromium_src-1d0f1bbc3a10c0c600fab6cf9c7041afe0c62670.tar.gz chromium_src-1d0f1bbc3a10c0c600fab6cf9c7041afe0c62670.tar.bz2 |
Coverity: Initialize a member variable.
Better safe than sorry.
CID_COUNT=1
CID=104358
BUG=none
TEST=none
R=gbillock
TBR=isherman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10696076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145158 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/google/google_url_tracker.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/google/google_url_tracker.cc b/chrome/browser/google/google_url_tracker.cc index 60fa786..0d20ffe 100644 --- a/chrome/browser/google/google_url_tracker.cc +++ b/chrome/browser/google/google_url_tracker.cc @@ -180,7 +180,8 @@ string16 GoogleURLTrackerInfoBarDelegate::GetButtonLabel( // Note that we have to initialize at least the NotificationSources explicitly // lest this not compile, because NotificationSource has no null constructor. GoogleURLTracker::MapEntry::MapEntry() - : navigation_controller_source( + : infobar(NULL), + navigation_controller_source( content::Source<content::NavigationController>(NULL)), tab_contents_source(content::Source<TabContents>(NULL)) { NOTREACHED(); |