summaryrefslogtreecommitdiffstats
path: root/chrome/browser/possible_url_model.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-25 17:23:32 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-25 17:23:32 +0000
commitd99a435cc59e094784cabcab678112c104ebe0b1 (patch)
tree5edd3b82d6e5130b00efb94046526eebd038cce8 /chrome/browser/possible_url_model.cc
parentdd9b546041432d91245d5674fd6b4c6bb2f7ac0d (diff)
downloadchromium_src-d99a435cc59e094784cabcab678112c104ebe0b1.zip
chromium_src-d99a435cc59e094784cabcab678112c104ebe0b1.tar.gz
chromium_src-d99a435cc59e094784cabcab678112c104ebe0b1.tar.bz2
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
Diffstat (limited to 'chrome/browser/possible_url_model.cc')
-rw-r--r--chrome/browser/possible_url_model.cc4
1 files changed, 3 insertions, 1 deletions
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);