Bug 485868 - Remove code duplication in xpcjsruntime.cpp.

Fixing XPC_TRACK_DEFERRED_RELEASES build bustage (DEBUG_timeless)
This commit is contained in:
timeless@mozdev.org 2009-04-30 18:50:24 +02:00
commit a04b892493

View File

@ -761,7 +761,7 @@ JSBool XPCJSRuntime::GCCallback(JSContext *cx, JSGCStatus status)
// Do any deferred released of native objects.
#ifdef XPC_TRACK_DEFERRED_RELEASES
printf("XPC - Begin deferred Release of %d nsISupports pointers\n",
array.Length());
self->mNativesToReleaseArray.Length());
#endif
DoDeferredRelease(self->mNativesToReleaseArray);
#ifdef XPC_TRACK_DEFERRED_RELEASES