summaryrefslogtreecommitdiffstats
path: root/webkit/tools
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-07 10:42:41 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-07 10:42:41 +0000
commitdb9ff48a9e853adc4f4ad7ee214a0e23a7297416 (patch)
treee3b1b5ba5b3dc3136d7a33fe8f7432be760d446f /webkit/tools
parente8606ad10b19c706fa2db07635cff4e9e118ffde (diff)
downloadchromium_src-db9ff48a9e853adc4f4ad7ee214a0e23a7297416.zip
chromium_src-db9ff48a9e853adc4f4ad7ee214a0e23a7297416.tar.gz
chromium_src-db9ff48a9e853adc4f4ad7ee214a0e23a7297416.tar.bz2
Make calls to onWebGeolocationServiceDestroyed
Needed by patch https://bugs.webkit.org/show_bug.cgi?id=45112 NOTE Depends on webkit r66837: (http://trac.webkit.org/changeset/66837) (will land once that is rolled in) BUG=53394 TEST=fast/dom/Geolocation/* Review URL: http://codereview.chromium.org/3338008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58687 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools')
-rw-r--r--webkit/tools/test_shell/test_geolocation_service.cc4
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) {