From 7766aefe0b9b376abab03ca487f8b14211c0b12d Mon Sep 17 00:00:00 2001 From: "igor@mir2.org" Date: Tue, 1 May 2007 14:33:00 -0700 Subject: [PATCH] Bug 377751: Fixing windows compilation problem. --- js/src/xpconnect/src/XPCDispInlines.h | 2 +- js/src/xpconnect/src/XPCDispPrivate.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/js/src/xpconnect/src/XPCDispInlines.h b/js/src/xpconnect/src/XPCDispInlines.h index 284deb6893e..694520ea0a1 100644 --- a/js/src/xpconnect/src/XPCDispInlines.h +++ b/js/src/xpconnect/src/XPCDispInlines.h @@ -463,7 +463,7 @@ JSBool XPCDispIDArray::IsMarked() const // NOP. This is just here to make the AutoMarkingPtr code compile. inline -void XPCDispIDArray::TraceJS(JSTracer* trc) +void XPCDispIDArray::Mark() { } diff --git a/js/src/xpconnect/src/XPCDispPrivate.h b/js/src/xpconnect/src/XPCDispPrivate.h index ccfbfadfa04..52c3e6f5588 100644 --- a/js/src/xpconnect/src/XPCDispPrivate.h +++ b/js/src/xpconnect/src/XPCDispPrivate.h @@ -317,6 +317,11 @@ public: */ void Unmark(); + /** + * NOP. This is just here to make the AutoMarkingPtr code compile. + */ + inline void Mark(JSContext*); + /** * Tests whether the ID is marked */