diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-08 20:33:32 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-08 20:33:32 +0000 |
commit | 0a885f869b678072dc5092e89f3fe8e8d2b59017 (patch) | |
tree | 68523a369ac62c117c639e51c5f43091f2bd232f /views | |
parent | 0925622c1495325dfe3d3b25273f4439361936bc (diff) | |
download | chromium_src-0a885f869b678072dc5092e89f3fe8e8d2b59017.zip chromium_src-0a885f869b678072dc5092e89f3fe8e8d2b59017.tar.gz chromium_src-0a885f869b678072dc5092e89f3fe8e8d2b59017.tar.bz2 |
Turn on -Wdelete-non-virtual-dtor for chromeos as well.
All of the changes in this CL are to shut up the warning, not because of real problems (I fixed these in separate CLs).
See the bug for a disussion of this change.
BUG=84424
TEST=none
Review URL: http://codereview.chromium.org/6995085
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88385 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/widget/tooltip_window_gtk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/widget/tooltip_window_gtk.h b/views/widget/tooltip_window_gtk.h index 0c9fcb0..14ea4f9 100644 --- a/views/widget/tooltip_window_gtk.h +++ b/views/widget/tooltip_window_gtk.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -25,7 +25,7 @@ namespace views { class TooltipWindowGtk { public: explicit TooltipWindowGtk(GtkWidget* widget); - ~TooltipWindowGtk(); + virtual ~TooltipWindowGtk(); // Sets tooltip text to display. void SetTooltipText(const std::wstring& text); |