Bug 937157, part 7 - Remove XPC_TRACK_PROTO_STATS. r=bholley

This commit is contained in:
Andrew McCreight 2013-11-17 14:46:59 -08:00
parent 3249d41c33
commit c6e28bb163
2 changed files with 0 additions and 10 deletions

View File

@ -153,15 +153,6 @@ XPCWrappedNativeProto::SystemIsBeingShutDown()
// Note that the instance might receive this call multiple times
// as we walk to here from various places.
#ifdef XPC_TRACK_PROTO_STATS
static bool DEBUG_DumpedStats = false;
if (!DEBUG_DumpedStats) {
printf("%d XPCWrappedNativeProto(s) alive at shutdown\n",
gDEBUG_LiveProtoCount);
DEBUG_DumpedStats = true;
}
#endif
if (mJSProtoObject) {
// short circuit future finalization
JS_SetPrivate(mJSProtoObject, nullptr);

View File

@ -182,7 +182,6 @@
#define XPC_DUMP_AT_SHUTDOWN
#define XPC_TRACK_WRAPPER_STATS
#define XPC_TRACK_SCOPE_STATS
#define XPC_TRACK_PROTO_STATS
#endif
/***************************************************************************/