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

@@ -103,7 +103,7 @@ nsresult
nsPromptService::Init()
{
nsresult rv;
mWatcher = do_GetService("@mozilla.org/embedcomp/window-watcher;1", &rv);
mWatcher = do_GetService(NS_WINDOWWATCHER_CONTRACTID, &rv);
return rv;
}