Virtual destructors should have virtual keyword.
Make sure user-declared virtual destructors always have the virtual keyword.
The Clang style-check plugin will check for this soon.
No functionality change: virtual is only added
to destructors that are already implicitly virtual.
Also fix a couple of in-line destructor definitions.
BUG=83408
TEST=none
Review URL: http://codereview.chromium.org/7064033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86587 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/renderer/render_process_impl.h b/content/renderer/render_process_impl.h
index b530e6ae..c5cbabe 100644
--- a/content/renderer/render_process_impl.h
+++ b/content/renderer/render_process_impl.h
@@ -20,7 +20,7 @@
class RenderProcessImpl : public RenderProcess {
public:
RenderProcessImpl();
- ~RenderProcessImpl();
+ virtual ~RenderProcessImpl();
// RenderProcess implementation.
virtual skia::PlatformCanvas* GetDrawingCanvas(TransportDIB** memory,