diff options
Diffstat (limited to 'webkit/tools/test_shell/test_geolocation_service.cc')
-rw-r--r-- | webkit/tools/test_shell/test_geolocation_service.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_geolocation_service.cc b/webkit/tools/test_shell/test_geolocation_service.cc index 6653ecf..b412813 100644 --- a/webkit/tools/test_shell/test_geolocation_service.cc +++ b/webkit/tools/test_shell/test_geolocation_service.cc @@ -12,6 +12,10 @@ TestGeolocationService::TestGeolocationService() } TestGeolocationService::~TestGeolocationService() { + for (IDMap<WebKit::WebGeolocationServiceBridge>::iterator it(&bridges_map_); + !it.IsAtEnd(); it.Advance()) { + it.GetCurrentValue()->onWebGeolocationServiceDestroyed(); + } } void TestGeolocationService::SetGeolocationPermission(bool allowed) { |