Bug 976350 patch 2: Rename nsTraceRefcntImpl to nsTraceRefcnt. r=bsmedberg

Now that bug 975295 removed the obsolete wrapper class, we can rename
nsTraceRefcntImpl back to its correct pre-XPCOM-glue name,
nsTraceRefcnt.

The best part is that the one place where indentation should have needed
fixing, nsTraceRefcnt::DemangleSymbol, never had its indentation fixed
for the previous renaming.
This commit is contained in:
L. David Baron
2014-02-26 13:36:36 -08:00
parent eccc6c3bd1
commit dba3efaa58
15 changed files with 65 additions and 65 deletions

View File

@@ -70,7 +70,7 @@ static nsresult MacErrorMapper(OSErr inErr);
#endif
#include "nsNativeCharsetUtils.h"
#include "nsTraceRefcntImpl.h"
#include "nsTraceRefcnt.h"
#include "nsHashKeys.h"
using namespace mozilla;
@@ -1737,13 +1737,13 @@ nsLocalFile::Load(PRLibrary **_retval)
return NS_ERROR_INVALID_ARG;
#ifdef NS_BUILD_REFCNT_LOGGING
nsTraceRefcntImpl::SetActivityIsLegal(false);
nsTraceRefcnt::SetActivityIsLegal(false);
#endif
*_retval = PR_LoadLibrary(mPath.get());
#ifdef NS_BUILD_REFCNT_LOGGING
nsTraceRefcntImpl::SetActivityIsLegal(true);
nsTraceRefcnt::SetActivityIsLegal(true);
#endif
if (!*_retval)