From 2bde8e466a4451c7319e3a072d118917957d6554 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Wed, 25 May 2011 19:08:45 +0100 Subject: Merge WebKit at r82507: Initial merge by git Change-Id: I60ce9d780725b58b45e54165733a8ffee23b683e --- Source/WebCore/platform/mock/GeolocationClientMock.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/WebCore/platform/mock/GeolocationClientMock.cpp') diff --git a/Source/WebCore/platform/mock/GeolocationClientMock.cpp b/Source/WebCore/platform/mock/GeolocationClientMock.cpp index 5255b34..d067c8a 100644 --- a/Source/WebCore/platform/mock/GeolocationClientMock.cpp +++ b/Source/WebCore/platform/mock/GeolocationClientMock.cpp @@ -79,6 +79,11 @@ void GeolocationClientMock::setPermission(bool allowed) asyncUpdatePermission(); } +int GeolocationClientMock::numberOfPendingPermissionRequests() const +{ + return m_pendingPermission.size(); +} + void GeolocationClientMock::requestPermission(Geolocation* geolocation) { m_pendingPermission.add(geolocation); -- cgit v1.1