Index: Source/modules/geolocation/PositionOptions.cpp |
diff --git a/Source/modules/geolocation/PositionOptions.cpp b/Source/modules/geolocation/PositionOptions.cpp |
index ec06ec5b55de6d2b113072bc7b8bede2b0c7277a..6ceb318a617c125586b96cdb5e013144129e0306 100644 |
--- a/Source/modules/geolocation/PositionOptions.cpp |
+++ b/Source/modules/geolocation/PositionOptions.cpp |
@@ -22,12 +22,12 @@ PositionOptions::PositionOptions(const Dictionary& options) |
{ |
if (options.hasProperty("enableHighAccuracy")) { |
bool highAccuracy; |
- if (DictionaryHelper::get(options, "enableHighAccuracy", highAccuracy)) |
+ if (options.get("enableHighAccuracy", highAccuracy)) |
m_highAccuracy = highAccuracy; |
} |
if (options.hasProperty("maximumAge")) { |
double maximumAge; |
- if (DictionaryHelper::get(options, "maximumAge", maximumAge)) { |
+ if (options.get("maximumAge", maximumAge)) { |
if (maximumAge < 0) |
m_maximumAge = 0; |
else if (maximumAge > std::numeric_limits<unsigned>::max()) |
@@ -38,7 +38,7 @@ PositionOptions::PositionOptions(const Dictionary& options) |
} |
if (options.hasProperty("timeout")) { |
double timeout; |
- if (DictionaryHelper::get(options, "timeout", timeout)) { |
+ if (options.get("timeout", timeout)) { |
if (timeout < 0) |
m_timeout = 0; |
else if (timeout > std::numeric_limits<unsigned>::max()) |