mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 19:37:15 +00:00
Bug 469091 - Removes an unused method from the geolocation provider api. r/sr=jst
This commit is contained in:
parent
4142f2eb97
commit
ce7c0e132e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user