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

Unified Diff: Source/core/dom/DOMPointReadOnly.h

Issue 412373003: Implement DOMQuad of geometry interfaces. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: expected.txt Created 6 years, 5 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 | « Source/core/dom/DOMPoint.h ('k') | Source/core/dom/DOMQuad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMPointReadOnly.h
diff --git a/Source/core/dom/DOMPointReadOnly.h b/Source/core/dom/DOMPointReadOnly.h
index 14111603635989c111327cd53fa0661e16f664e4..1b21d4d4609a2dede8480df6bebb446357243b14 100644
--- a/Source/core/dom/DOMPointReadOnly.h
+++ b/Source/core/dom/DOMPointReadOnly.h
@@ -10,7 +10,7 @@
namespace blink {
-class DOMPointReadOnly : public GarbageCollected<DOMPointReadOnly>, public ScriptWrappableBase {
+class DOMPointReadOnly : public GarbageCollectedFinalized<DOMPointReadOnly>, public ScriptWrappableBase {
public:
static DOMPointReadOnly* create(double x, double y, double z, double w);
@@ -19,7 +19,9 @@ public:
double z() const { return m_z; }
double w() const { return m_w; }
- void trace(Visitor*) { }
+ virtual void trace(Visitor*) { }
+
+ virtual ~DOMPointReadOnly() { }
protected:
DOMPointReadOnly(double x, double y, double z, double w);
« no previous file with comments | « Source/core/dom/DOMPoint.h ('k') | Source/core/dom/DOMQuad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698