From 06f1ecff0f609438be162b71b50a3be08983df23 Mon Sep 17 00:00:00 2001 From: Patrick Scott Date: Tue, 29 Sep 2009 09:43:03 -0400 Subject: Fix a few crashes with assertions enabled. KURL::protocolIs no longer likes "javascript" and has a different method called protocolIsJavaScript. --- WebCore/platform/android/GeolocationServiceAndroid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WebCore/platform/android/GeolocationServiceAndroid.cpp') diff --git a/WebCore/platform/android/GeolocationServiceAndroid.cpp b/WebCore/platform/android/GeolocationServiceAndroid.cpp index e1d34b0..9dcef6f 100644 --- a/WebCore/platform/android/GeolocationServiceAndroid.cpp +++ b/WebCore/platform/android/GeolocationServiceAndroid.cpp @@ -347,7 +347,7 @@ void GeolocationServiceAndroid::newErrorAvailable(PassRefPtr erro } void GeolocationServiceAndroid::timerFired(Timer* timer) { - ASSERT(m_timer == timer); + ASSERT(&m_timer == timer); ASSERT(m_lastPosition || m_lastError); if (m_lastPosition) positionChanged(); -- cgit v1.1