4th patch for bug 158080

Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
This commit is contained in:
henry.jia@sun.com
2002-08-06 05:56:22 +00:00
parent eca31a3fc1
commit ecfce4e439
12 changed files with 12 additions and 12 deletions

View File

@@ -91,7 +91,7 @@ private:
NS_IMPL_ISUPPORTS1(CPromptService, nsIPromptService)
CPromptService::CPromptService() :
mWWatch(do_GetService("@mozilla.org/embedcomp/window-watcher;1"))
mWWatch(do_GetService(NS_WINDOWWATCHER_CONTRACTID))
{
NS_INIT_REFCNT();
}