Commit f77106a2 authored by hans@chromium.org's avatar hans@chromium.org

Chromeos: virtual destructors should have virtual keyword (part 3).

Nu functionality change: virtual is only added to destructors
that are already implicitly virtual.

BUG=83408
TEST=chromiumos clang bot goes green
TBR=battre

Review URL: http://codereview.chromium.org/6979010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86615 0039d316-1c4b-4281-b951-d872f2087c98
parent ed2b1009
...@@ -18,7 +18,7 @@ class PanelScrollerHeader; ...@@ -18,7 +18,7 @@ class PanelScrollerHeader;
class PanelScroller : public views::View, public ui::AnimationDelegate { class PanelScroller : public views::View, public ui::AnimationDelegate {
public: public:
PanelScroller(); PanelScroller();
~PanelScroller(); virtual ~PanelScroller();
static PanelScroller* CreateWindow(); static PanelScroller* CreateWindow();
...@@ -66,4 +66,3 @@ class PanelScroller : public views::View, public ui::AnimationDelegate { ...@@ -66,4 +66,3 @@ class PanelScroller : public views::View, public ui::AnimationDelegate {
}; };
#endif // CHROME_BROWSER_CHROMEOS_PANELS_PANEL_SCROLLER_H_ #endif // CHROME_BROWSER_CHROMEOS_PANELS_PANEL_SCROLLER_H_
...@@ -139,7 +139,7 @@ class ImageBurnResourceManager ...@@ -139,7 +139,7 @@ class ImageBurnResourceManager
friend struct DefaultSingletonTraits<ImageBurnResourceManager>; friend struct DefaultSingletonTraits<ImageBurnResourceManager>;
ImageBurnResourceManager(); ImageBurnResourceManager();
~ImageBurnResourceManager(); virtual ~ImageBurnResourceManager();
FilePath image_dir_; FilePath image_dir_;
FilePath config_file_path_; FilePath config_file_path_;
......
...@@ -228,7 +228,7 @@ class MenuController : public MessageLoopForUI::Dispatcher { ...@@ -228,7 +228,7 @@ class MenuController : public MessageLoopForUI::Dispatcher {
// Creates a MenuController. If blocking is true, Run blocks the caller // Creates a MenuController. If blocking is true, Run blocks the caller
explicit MenuController(bool blocking); explicit MenuController(bool blocking);
~MenuController(); virtual ~MenuController();
// If there is a hot tracked view AcceleratorPressed is invoked on it and // If there is a hot tracked view AcceleratorPressed is invoked on it and
// true is returned. // true is returned.
......
...@@ -19,7 +19,7 @@ class NativeTextfieldGtk : public NativeControlGtk, ...@@ -19,7 +19,7 @@ class NativeTextfieldGtk : public NativeControlGtk,
public NativeTextfieldWrapper { public NativeTextfieldWrapper {
public: public:
explicit NativeTextfieldGtk(Textfield* parent); explicit NativeTextfieldGtk(Textfield* parent);
~NativeTextfieldGtk(); virtual ~NativeTextfieldGtk();
// Returns the textfield this NativeTextfieldGtk wraps. // Returns the textfield this NativeTextfieldGtk wraps.
Textfield* textfield() const { return textfield_; } Textfield* textfield() const { return textfield_; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment