summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-22 19:45:39 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-22 19:45:39 +0000
commit03a4b48659eb4bc8f55b48f83cfa576703e0c361 (patch)
tree56207520d5013ac508c75e65eb5727da86325c0f
parent47706299b94201a4fcd15b8de57451f79d06fab3 (diff)
downloadchromium_src-03a4b48659eb4bc8f55b48f83cfa576703e0c361.zip
chromium_src-03a4b48659eb4bc8f55b48f83cfa576703e0c361.tar.gz
chromium_src-03a4b48659eb4bc8f55b48f83cfa576703e0c361.tar.bz2
Properly initialize delegate variable.
BUG=85445 TEST=crash should go away Review URL: http://codereview.chromium.org/7230018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90075 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc b/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc
index 1eb3213..2f7eab9 100644
--- a/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc
+++ b/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc
@@ -20,7 +20,8 @@ BlockedContentTabHelper::BlockedContentTabHelper(
: TabContentsObserver(tab_contents->tab_contents()),
blocked_contents_(new BlockedContentContainer(tab_contents)),
all_contents_blocked_(false),
- tab_contents_wrapper_(tab_contents) {
+ tab_contents_wrapper_(tab_contents),
+ delegate_(NULL) {
}
BlockedContentTabHelper::~BlockedContentTabHelper() {