Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1162)

Unified Diff: chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.cc

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.cc
diff --git a/chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.cc b/chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.cc
index 1c4ac19f040c701ea1d9b8bf64addf433982f8f2..8dfd2dd15cb064ced3feb56f83056eeabf492a24 100644
--- a/chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.cc
+++ b/chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.cc
@@ -14,6 +14,10 @@ BalloonViewHost::BalloonViewHost(Balloon* balloon)
render_widget_host_view_(NULL) {
}
+BalloonViewHost::~BalloonViewHost() {
+ Shutdown();
+}
+
void BalloonViewHost::UpdateActualSize(const gfx::Size& new_size) {
render_widget_host_view_->SetSize(new_size);
gtk_widget_set_size_request(
« no previous file with comments | « chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.h ('k') | chrome/browser/ui/gtk/reload_button_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698