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

@@ -121,7 +121,7 @@ static void PR_CALLBACK DestroyPLEvent(PLEvent* aEvent);
NS_IMPL_ISUPPORTS2(CPrintingPromptService, nsIPrintingPromptService, nsIWebProgressListener)
CPrintingPromptService::CPrintingPromptService() :
mWWatch(do_GetService("@mozilla.org/embedcomp/window-watcher;1")),
mWWatch(do_GetService(NS_WINDOWWATCHER_CONTRACTID)),
m_PPDlg(NULL)
{
NS_INIT_REFCNT();