From b416a15d43d102c541369c473813f475f15284d0 Mon Sep 17 00:00:00 2001 From: "jband%netscape.com" Date: Tue, 26 Sep 2000 10:23:23 +0000 Subject: [PATCH] NOT PART OF BUILD. fixing tools bustage --- js/src/xpconnect/tools/src/nsXPCToolsProfiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/xpconnect/tools/src/nsXPCToolsProfiler.cpp b/js/src/xpconnect/tools/src/nsXPCToolsProfiler.cpp index 5922efcec10..9befb5e9c56 100644 --- a/js/src/xpconnect/tools/src/nsXPCToolsProfiler.cpp +++ b/js/src/xpconnect/tools/src/nsXPCToolsProfiler.cpp @@ -50,7 +50,7 @@ public: : mLineno(aLineno), mExtent(aExtent) {} ~FunctionKey(void) {} - PRUint32 HashValue(void) const + PRUint32 HashCode(void) const {return (17*mLineno) + (7*mExtent);} PRBool Equals(const nsHashKey* aKey) const {const FunctionKey* o = (const FunctionKey*) aKey; @@ -195,7 +195,7 @@ xpctools_JSNewScriptHook(JSContext *cx, if(self->mFileTable) { - nsStringKey key(filename); + nsCStringKey key(filename); ProfilerFile* file = (ProfilerFile*) self->mFileTable->Get(&key); if(!file) {