From b906152f4bf3aa0427e98bcabbf3c8d67b0e4091 Mon Sep 17 00:00:00 2001 From: Doug Turner Date: Thu, 12 Nov 2009 09:17:21 -0800 Subject: [PATCH] Bug 493615 - Allow Addons the use of the DOM Geolocation API. part 2. fix mochitest failures. r=dholbert --HG-- extra : rebase_source : ae3ed9aab598073a7e41d44766ffde0d588b7b16 --- dom/src/geolocation/nsGeolocation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom/src/geolocation/nsGeolocation.cpp b/dom/src/geolocation/nsGeolocation.cpp index 6336d5b7529b..4f2378d5faaf 100644 --- a/dom/src/geolocation/nsGeolocation.cpp +++ b/dom/src/geolocation/nsGeolocation.cpp @@ -755,6 +755,8 @@ nsGeolocation::Init(nsIDOMWindow* aContentDom) mService = nsGeolocationService::GetInstance(); if (mService) mService->AddLocator(this); + + return NS_OK; } void