From d99a435cc59e094784cabcab678112c104ebe0b1 Mon Sep 17 00:00:00 2001 From: "jhawkins@chromium.org" Date: Fri, 25 Sep 2009 17:23:32 +0000 Subject: Coverity: Initialize observer_ in the constructor. CID=1483 BUG=none TEST=none Review URL: http://codereview.chromium.org/219039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27203 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/possible_url_model.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chrome/browser/possible_url_model.cc') diff --git a/chrome/browser/possible_url_model.cc b/chrome/browser/possible_url_model.cc index cdf9da1..5a0d0b5 100644 --- a/chrome/browser/possible_url_model.cc +++ b/chrome/browser/possible_url_model.cc @@ -28,7 +28,9 @@ const int kPossibleURLTimeScope = 30; } // anonymous namespace -PossibleURLModel::PossibleURLModel() : profile_(NULL) { +PossibleURLModel::PossibleURLModel() + : profile_(NULL), + observer_(NULL) { if (!default_fav_icon) { ResourceBundle& rb = ResourceBundle::GetSharedInstance(); default_fav_icon = rb.GetBitmapNamed(IDR_DEFAULT_FAVICON); -- cgit v1.1