Bug 609418 double vs const double for nsGeoPositionCoords::nsGeoPositionCoords(...) r=doug.turner a=doug.turner
authorGinn Chen <ginn.chen@oracle.com>
Tue, 16 Nov 2010 16:23:05 +0800
changeset 57565 2951546c734a5d4b919af1cd0b31d9c72051c5c6
parent 57564 e4beaf7236362210e2d85d9a60b2884655c40fb0
child 57566 fedc658ef505386cc09e24e05b15181452ab7bfd
push id16983
push userginn.chen@sun.com
push dateTue, 16 Nov 2010 08:29:06 +0000
treeherdermozilla-central@2951546c734a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdoug.turner, doug.turner
bugs609418
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 609418 double vs const double for nsGeoPositionCoords::nsGeoPositionCoords(...) r=doug.turner a=doug.turner
dom/src/geolocation/nsGeoPosition.h
--- a/dom/src/geolocation/nsGeoPosition.h
+++ b/dom/src/geolocation/nsGeoPosition.h
@@ -89,23 +89,20 @@ public:
  * Simple object that holds a single point in space.
  */
 class nsGeoPositionCoords : public nsIDOMGeoPositionCoords
 {
 public:
   NS_DECL_ISUPPORTS
   NS_DECL_NSIDOMGEOPOSITIONCOORDS
   
-  nsGeoPositionCoords(const double aLat,
-                      const double aLong,
-                      const double aAlt,
-                      const double aHError,
-                      const double aVError,
-                      const double aHeading,
-                      const double aSpeed);
+  nsGeoPositionCoords(double aLat, double aLong,
+                      double aAlt, double aHError,
+                      double aVError, double aHeading,
+                      double aSpeed);
 private:
   ~nsGeoPositionCoords();
   const double mLat, mLong, mAlt, mHError, mVError, mHeading, mSpeed;
 };
 
 
 ////////////////////////////////////////////////////
 // nsGeoPosition