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

Unified Diff: Source/core/css/CSSBasicShapes.h

Issue 189543014: Ensure proper finalization of garbage-collected types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase and sign error in Vector Created 6 years, 9 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
« no previous file with comments | « no previous file | Source/core/css/CSSBasicShapes.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSBasicShapes.h
diff --git a/Source/core/css/CSSBasicShapes.h b/Source/core/css/CSSBasicShapes.h
index 78b84df13d793817ce10a33bcdce42719be87afb..fa6ce08717e1dedbd3b307f3c12342eb028233bb 100644
--- a/Source/core/css/CSSBasicShapes.h
+++ b/Source/core/css/CSSBasicShapes.h
@@ -39,6 +39,7 @@
namespace WebCore {
class CSSBasicShape : public RefCountedWillBeGarbageCollected<CSSBasicShape> {
+ DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(CSSBasicShape);
public:
enum Type {
CSSBasicShapeRectangleType,
@@ -60,9 +61,6 @@ public:
virtual void trace(Visitor* visitor) { visitor->trace(m_layoutBox); }
-public:
- virtual ~CSSBasicShape() { }
-
protected:
CSSBasicShape() { }
RefPtrWillBeMember<CSSPrimitiveValue> m_layoutBox;
« no previous file with comments | « no previous file | Source/core/css/CSSBasicShapes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698