summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/notifications/balloon_view_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/notifications/balloon_view_gtk.cc')
-rw-r--r--chrome/browser/gtk/notifications/balloon_view_gtk.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/gtk/notifications/balloon_view_gtk.cc b/chrome/browser/gtk/notifications/balloon_view_gtk.cc
index a3a53dd..5fb3910 100644
--- a/chrome/browser/gtk/notifications/balloon_view_gtk.cc
+++ b/chrome/browser/gtk/notifications/balloon_view_gtk.cc
@@ -87,7 +87,6 @@ BalloonViewImpl::BalloonViewImpl(BalloonCollection* collection)
: balloon_(NULL),
frame_container_(NULL),
html_container_(NULL),
- html_contents_(NULL),
method_factory_(this),
close_button_(NULL),
animation_(NULL) {
@@ -234,7 +233,7 @@ void BalloonViewImpl::Show(Balloon* balloon) {
options_menu_.reset(new MenuGtk(this, options_menu_model_.get()));
// Create a BalloonViewHost to host the HTML contents of this balloon.
- html_contents_ = new BalloonViewHost(balloon);
+ html_contents_.reset(new BalloonViewHost(balloon));
html_contents_->Init();
gfx::NativeView contents = html_contents_->native_view();