Index: Source/modules/geolocation/GeoNotifier.cpp |
diff --git a/Source/modules/geolocation/GeoNotifier.cpp b/Source/modules/geolocation/GeoNotifier.cpp |
index c877287ebb4120959cef04f035ddd49f3c10357d..3d733279fd7342fbd4f1523b2311e23fc901ec9a 100644 |
--- a/Source/modules/geolocation/GeoNotifier.cpp |
+++ b/Source/modules/geolocation/GeoNotifier.cpp |
@@ -56,11 +56,6 @@ void GeoNotifier::setUseCachedPosition() |
void GeoNotifier::runSuccessCallback(Geoposition* position) |
{ |
- // If we are here and the Geolocation permission is not approved, something has |
- // gone horribly wrong. |
- if (!m_geolocation->isAllowed()) |
- CRASH(); |
Michael van Ouwerkerk
2014/07/17 10:15:00
I'd have prefered to just replace this with ASSERT
kihong
2014/07/17 11:47:55
There are only two way to get here.(from makeCache
Michael van Ouwerkerk
2014/07/17 12:15:34
Your change is correct. If the purpose is the brea
kihong
2014/07/17 12:21:10
I got it and thanks for your kind reviewing. :)
|
- |
m_successCallback->handleEvent(position); |
} |