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

Unified Diff: Source/modules/geolocation/Coordinates.h

Issue 367113005: Remove destructors from ScriptWrappable objects in modules/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add Finalizable transition type Created 6 years, 6 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: Source/modules/geolocation/Coordinates.h
diff --git a/Source/modules/geolocation/Coordinates.h b/Source/modules/geolocation/Coordinates.h
index f4b6e975b4938d08446037edd2fd4a2abb291026..aff5f0fd3136eab3e7de84f18b171b580d7aebd2 100644
--- a/Source/modules/geolocation/Coordinates.h
+++ b/Source/modules/geolocation/Coordinates.h
@@ -32,12 +32,13 @@
namespace WebCore {
-class Coordinates : public GarbageCollectedFinalized<Coordinates>, public ScriptWrappable {
+class Coordinates : public GarbageCollectedFinalizedWillBeGarbageCollected<Coordinates>, public ScriptWrappable {
public:
static Coordinates* create(double latitude, double longitude, bool providesAltitude, double altitude, double accuracy, bool providesAltitudeAccuracy, double altitudeAccuracy, bool providesHeading, double heading, bool providesSpeed, double speed)
{
return new Coordinates(latitude, longitude, providesAltitude, altitude, accuracy, providesAltitudeAccuracy, altitudeAccuracy, providesHeading, heading, providesSpeed, speed);
}
+
void trace(Visitor*) { }
double latitude() const { return m_latitude; }

Powered by Google App Engine
This is Rietveld 408576698