Index: Source/modules/geolocation/Geolocation.h |
diff --git a/Source/modules/geolocation/Geolocation.h b/Source/modules/geolocation/Geolocation.h |
index eb8e4c6e7244f87a6c290573d41bca5c5ff2ae96..a94101787c5e5d8c9b9e4c527b1f52041aab7877 100644 |
--- a/Source/modules/geolocation/Geolocation.h |
+++ b/Source/modules/geolocation/Geolocation.h |
@@ -63,11 +63,11 @@ public: |
// Creates a oneshot and attempts to obtain a position that meets the |
// constraints of the options. |
- void getCurrentPosition(PositionCallback*, PositionErrorCallback*, const Dictionary&); |
+ void getCurrentPosition(PositionCallback*, PositionErrorCallback*, const PositionOptions&); |
// Creates a watcher that will be notified whenever a new position is |
// available that meets the constraints of the options. |
- int watchPosition(PositionCallback*, PositionErrorCallback*, const Dictionary&); |
+ int watchPosition(PositionCallback*, PositionErrorCallback*, const PositionOptions&); |
// Removes all references to the watcher, it will not be updated again. |
void clearWatch(int watchID); |
@@ -156,7 +156,7 @@ private: |
// fatal error if permission is denied or no position can be obtained. |
void startRequest(GeoNotifier*); |
- bool haveSuitableCachedPosition(PositionOptions*); |
+ bool haveSuitableCachedPosition(const PositionOptions&); |
// Runs the success callbacks for the set of notifiers awaiting a cached |
// position, the set is then cleared. The oneshots are removed everywhere. |