Bug 489239 - "comm-central windows builds broken by unit test for bug 58904" [r=ted.mielczarek]
authorMark Banner <bugzilla@standard8.plus.com>
Wed, 22 Apr 2009 13:28:23 +0100
changeset 27615 fba47e2a4b289ca754c8ebad07702b43e56701b4
parent 27614 bafeec3a45c80a079e48586c7ec54540ff2b67f3
child 27616 d299a5eb0f76b527e617efaf6e10aa3d2dc98927
push id6652
push userbugzilla@standard8.plus.com
push dateWed, 22 Apr 2009 12:29:11 +0000
treeherdermozilla-central@fba47e2a4b28 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs489239, 58904
milestone1.9.2a1pre
Bug 489239 - "comm-central windows builds broken by unit test for bug 58904" [r=ted.mielczarek]
xpcom/build/dlldeps.cpp
--- a/xpcom/build/dlldeps.cpp
+++ b/xpcom/build/dlldeps.cpp
@@ -93,21 +93,26 @@
 #include "nsHashPropertyBag.h"
 #include "nsXPCOMStrings.h"
 #include "nsStringBuffer.h"
 #include "nsCategoryCache.h"
 #include "nsCycleCollectionParticipant.h"
 #include "nsCycleCollector.h"
 #include "nsThreadUtils.h"
 #include "nsTObserverArray.h"
+#include "Mutex.h"
+#include "Monitor.h"
+#include "CondVar.h"
 
 #if !defined(XP_OS2)
 #include "nsWindowsRegKey.h"
 #endif
 
+using namespace mozilla;
+
 class nsCStringContainer : private nsStringContainer_base { };
 class nsStringContainer : private nsStringContainer_base { };
 
 void XXXNeverCalled()
 {
     GRE_GetGREPathWithProperties(nsnull, 0, nsnull, 0, nsnull, 0);
     nsTextFormatter::snprintf(nsnull,0,nsnull);
     nsTextFormatter::smprintf(nsnull, nsnull);
@@ -289,9 +294,12 @@ void XXXNeverCalled()
     NS_GetCurrentThread(nsnull);
     NS_GetCurrentThread();
     NS_GetMainThread(nsnull);
     NS_DispatchToCurrentThread(nsnull);
     NS_DispatchToMainThread(nsnull, 0);
     NS_ProcessPendingEvents(nsnull, 0);
     NS_HasPendingEvents(nsnull);
     NS_ProcessNextEvent(nsnull, PR_FALSE);
+    Mutex theMutex("dummy");
+    Monitor theMonitor("dummy2");
+    CondVar theCondVar(theMutex, "dummy3");
 }