NOT PART OF BUILD. fixing tools bustage

This commit is contained in:
jband%netscape.com 2000-09-26 10:23:23 +00:00
Родитель f806edc00b
Коммит c54594db31
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -50,7 +50,7 @@ public:
: mLineno(aLineno), mExtent(aExtent) {} : mLineno(aLineno), mExtent(aExtent) {}
~FunctionKey(void) {} ~FunctionKey(void) {}
PRUint32 HashValue(void) const PRUint32 HashCode(void) const
{return (17*mLineno) + (7*mExtent);} {return (17*mLineno) + (7*mExtent);}
PRBool Equals(const nsHashKey* aKey) const PRBool Equals(const nsHashKey* aKey) const
{const FunctionKey* o = (const FunctionKey*) aKey; {const FunctionKey* o = (const FunctionKey*) aKey;
@ -195,7 +195,7 @@ xpctools_JSNewScriptHook(JSContext *cx,
if(self->mFileTable) if(self->mFileTable)
{ {
nsStringKey key(filename); nsCStringKey key(filename);
ProfilerFile* file = (ProfilerFile*) self->mFileTable->Get(&key); ProfilerFile* file = (ProfilerFile*) self->mFileTable->Get(&key);
if(!file) if(!file)
{ {