Bug 469091 - Removes an unused method from the geolocation provider api. r/sr=jst

This commit is contained in:
Doug Turner 2009-01-07 09:42:57 -08:00
Родитель 4142f2eb97
Коммит ce7c0e132e
2 изменённых файлов: 1 добавлений и 8 удалений

Просмотреть файл

@ -92,7 +92,7 @@ interface nsIGeolocationUpdate : nsISupports {
* startup is called, any geo location change should call
* callback.onRequest().
*/
[scriptable, uuid(E319BE2D-B1D1-4CA6-AEF4-66178589B63D)]
[scriptable, uuid(5C819505-8804-496E-9CB2-53089B3DD4EF)]
interface nsIGeolocationProvider : nsISupports {
/**
@ -113,12 +113,6 @@ interface nsIGeolocationProvider : nsISupports {
*/
void watch(in nsIGeolocationUpdate callback);
/**
* currentLocation return the current location as seen by
* the provider. may be null.
*/
readonly attribute nsIDOMGeoPosition currentPosition;
/**
* shutdown
* Shuts down the location device.

Просмотреть файл

@ -64,7 +64,6 @@ MyLocation.prototype = {
Ci.nsITimer.TYPE_REPEATING_SLACK);
},
currentLocation: new GeopositionObject(),
shutdown: function() {
dump("shutdown");
if(this.timer)