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

Unified Diff: third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h

Issue 1929493002: Remove unnecessary uses of GarbageCollectedFinalized<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add two leftover classes needing same treatment Created 4 years, 8 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: third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h
diff --git a/third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h b/third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h
index 9fb523b725b161bb5f088e555b9e41ae23067ca8..5ad044e5ef80b4fd823368823140af2571c30293 100644
--- a/third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h
+++ b/third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h
@@ -44,7 +44,7 @@ class SVGTransformTearOff;
// SVGMatrixTearOff wraps a AffineTransform for Javascript.
// Its instance can either hold a static value, or this can be teared off from |SVGTransform.matrix|.
// This does not derive from SVGPropertyTearOff, as its instances are never tied to an animated property nor an XML attribute.
-class CORE_EXPORT SVGMatrixTearOff final : public GarbageCollectedFinalized<SVGMatrixTearOff>, public ScriptWrappable {
+class CORE_EXPORT SVGMatrixTearOff final : public GarbageCollected<SVGMatrixTearOff>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
static SVGMatrixTearOff* create(const AffineTransform& value)
@@ -57,8 +57,6 @@ public:
return new SVGMatrixTearOff(target);
}
- ~SVGMatrixTearOff();
-
double a() { return value().a(); }
double b() { return value().b(); }
double c() { return value().c(); }
« no previous file with comments | « third_party/WebKit/Source/core/svg/PatternAttributes.h ('k') | third_party/WebKit/Source/core/svg/SVGMatrixTearOff.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698