From b83fc07cc628f887162505c3c7f10ffcb3631911 Mon Sep 17 00:00:00 2001 From: "warren%netscape.com" Date: Mon, 6 Mar 2000 00:26:19 +0000 Subject: [PATCH] Fixing to be thread safe. git-svn-id: svn://10.0.0.236/trunk@62252 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/bootstrap/nsNativeAppSupportGtk.cpp | 2 +- mozilla/xpfe/bootstrap/nsNativeAppSupportMac.cpp | 2 +- mozilla/xpfe/bootstrap/nsNativeAppSupportPh.cpp | 2 +- mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/xpfe/bootstrap/nsNativeAppSupportGtk.cpp b/mozilla/xpfe/bootstrap/nsNativeAppSupportGtk.cpp index 4ef377557a8..efcaa142120 100644 --- a/mozilla/xpfe/bootstrap/nsNativeAppSupportGtk.cpp +++ b/mozilla/xpfe/bootstrap/nsNativeAppSupportGtk.cpp @@ -39,7 +39,7 @@ public: GdkWindow *mDialog; }; // class nsSplashScreenGtk -NS_IMPL_ISUPPORTS0(nsSplashScreenGtk) +NS_IMPL_THREADSAFE_ISUPPORTS0(nsSplashScreenGtk) nsSplashScreenGtk::nsSplashScreenGtk() { diff --git a/mozilla/xpfe/bootstrap/nsNativeAppSupportMac.cpp b/mozilla/xpfe/bootstrap/nsNativeAppSupportMac.cpp index 60486bb2ab4..eccc0122960 100644 --- a/mozilla/xpfe/bootstrap/nsNativeAppSupportMac.cpp +++ b/mozilla/xpfe/bootstrap/nsNativeAppSupportMac.cpp @@ -46,7 +46,7 @@ public: PicHandle mPicHandle; }; // class nsSplashScreenMac -NS_IMPL_ISUPPORTS1(nsSplashScreenMac, nsISplashScreen) +NS_IMPL_THREADSAFE_ISUPPORTS1(nsSplashScreenMac, nsISplashScreen) NS_IMETHODIMP nsSplashScreenMac::Show() { diff --git a/mozilla/xpfe/bootstrap/nsNativeAppSupportPh.cpp b/mozilla/xpfe/bootstrap/nsNativeAppSupportPh.cpp index 597d22f5650..c260eabd6c2 100644 --- a/mozilla/xpfe/bootstrap/nsNativeAppSupportPh.cpp +++ b/mozilla/xpfe/bootstrap/nsNativeAppSupportPh.cpp @@ -53,7 +53,7 @@ public: PtWidget_t *mDialog; }; // class nsSplashScreenPh -NS_IMPL_ISUPPORTS1(nsSplashScreenPh, nsISplashScreen) +NS_IMPL_THREADSAFE_ISUPPORTS1(nsSplashScreenPh, nsISplashScreen) NS_IMETHODIMP nsSplashScreenPh::Show() diff --git a/mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp b/mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp index 6c5edcfd77e..8864ab6ebd1 100644 --- a/mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp +++ b/mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp @@ -49,7 +49,7 @@ public: HWND mDlg; }; // class nsSplashScreenWin -NS_IMPL_ISUPPORTS1(nsSplashScreenWin, nsISplashScreen) +NS_IMPL_THREADSAFE_ISUPPORTS1(nsSplashScreenWin, nsISplashScreen) nsSplashScreenWin::nsSplashScreenWin() : mRefCnt( 0 ), mDlg( 0 ) {