summaryrefslogtreecommitdiffstats
path: root/WebCore/page/Geolocation.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2009-12-09 15:16:27 +0000
committerSteve Block <steveblock@google.com>2009-12-17 17:41:12 +0000
commit4e46c2c16f454c6652d32889814f25a5fbb3bf28 (patch)
treefb414e2c03e940ebdded419b392607bd6fca0b4f /WebCore/page/Geolocation.cpp
parent6a011ab807deb276b9924d501a4219542092958c (diff)
downloadexternal_webkit-4e46c2c16f454c6652d32889814f25a5fbb3bf28.zip
external_webkit-4e46c2c16f454c6652d32889814f25a5fbb3bf28.tar.gz
external_webkit-4e46c2c16f454c6652d32889814f25a5fbb3bf28.tar.bz2
Merge webkit.org at r51976 : Geolocation error code UNKNOWN_ERROR is deprecated.
See http://trac.webkit.org/changeset/50605 Change-Id: Iaad2055f169f56b7d43e2e3195041f0796506092
Diffstat (limited to 'WebCore/page/Geolocation.cpp')
-rw-r--r--WebCore/page/Geolocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/page/Geolocation.cpp b/WebCore/page/Geolocation.cpp
index b94947e..8dfe19c 100644
--- a/WebCore/page/Geolocation.cpp
+++ b/WebCore/page/Geolocation.cpp
@@ -415,7 +415,7 @@ void Geolocation::requestReturnedCachedPosition(GeoNotifier* notifier)
if (m_service->startUpdating(notifier->m_options.get()))
notifier->startTimerIfNeeded();
else
- notifier->setFatalError(PositionError::create(PositionError::UNKNOWN_ERROR, "Failed to start Geolocation service"));
+ notifier->setFatalError(PositionError::create(PositionError::POSITION_UNAVAILABLE, "Failed to start Geolocation service"));
}
}