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

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: Rebased 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/modules/gamepad/WebKitGamepadList.cpp ('k') | Source/modules/geolocation/Geoposition.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/geolocation/Coordinates.h
diff --git a/Source/modules/geolocation/Coordinates.h b/Source/modules/geolocation/Coordinates.h
index 7be6ce5e1190b58ce56f67f6dee2af973600275c..6a2378ca2be821b33ffda79a5cd3c53ac03eb889 100644
--- a/Source/modules/geolocation/Coordinates.h
+++ b/Source/modules/geolocation/Coordinates.h
@@ -32,12 +32,13 @@
namespace blink {
-class Coordinates : public GarbageCollectedFinalized<Coordinates>, public ScriptWrappable {
+class Coordinates : public GarbageCollected<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; }
« no previous file with comments | « Source/modules/gamepad/WebKitGamepadList.cpp ('k') | Source/modules/geolocation/Geoposition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698