diff --git a/mozilla/xpcom/base/nsTraceRefcnt.cpp b/mozilla/xpcom/base/nsTraceRefcnt.cpp index 876cade1f1e..f8f41ff8688 100644 --- a/mozilla/xpcom/base/nsTraceRefcnt.cpp +++ b/mozilla/xpcom/base/nsTraceRefcnt.cpp @@ -95,8 +95,8 @@ EnumModulesCB(LPSTR aModuleName, * the rebasing and accordingly I've made a tool to use it to rebase the * DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp). */ -static void -WalkTheStack(char* aBuffer, int aBufLen) +void +nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen) { CONTEXT context; STACKFRAME frame; @@ -191,8 +191,8 @@ WalkTheStack(char* aBuffer, int aBufLen) } #else /* _WIN32 */ -static void -WalkTheStack(char* aBuffer, int aBufLen) +void +nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen) { aBuffer[0] = '\0'; } diff --git a/mozilla/xpcom/base/nsTraceRefcnt.h b/mozilla/xpcom/base/nsTraceRefcnt.h index 36b04d031c2..fa0f7b1b5e3 100644 --- a/mozilla/xpcom/base/nsTraceRefcnt.h +++ b/mozilla/xpcom/base/nsTraceRefcnt.h @@ -54,6 +54,8 @@ public: static NS_COM void LoadLibrarySymbols(const char* aLibraryName, void* aLibrayHandle); + + static NS_COM void WalkTheStack(char* aBuffer, int aBufLen); }; #endif /* nsTraceRefcnt_h___ */ diff --git a/mozilla/xpcom/base/nsTraceRefcntImpl.cpp b/mozilla/xpcom/base/nsTraceRefcntImpl.cpp index 876cade1f1e..f8f41ff8688 100644 --- a/mozilla/xpcom/base/nsTraceRefcntImpl.cpp +++ b/mozilla/xpcom/base/nsTraceRefcntImpl.cpp @@ -95,8 +95,8 @@ EnumModulesCB(LPSTR aModuleName, * the rebasing and accordingly I've made a tool to use it to rebase the * DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp). */ -static void -WalkTheStack(char* aBuffer, int aBufLen) +void +nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen) { CONTEXT context; STACKFRAME frame; @@ -191,8 +191,8 @@ WalkTheStack(char* aBuffer, int aBufLen) } #else /* _WIN32 */ -static void -WalkTheStack(char* aBuffer, int aBufLen) +void +nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen) { aBuffer[0] = '\0'; } diff --git a/mozilla/xpcom/base/nsTraceRefcntImpl.h b/mozilla/xpcom/base/nsTraceRefcntImpl.h index 36b04d031c2..fa0f7b1b5e3 100644 --- a/mozilla/xpcom/base/nsTraceRefcntImpl.h +++ b/mozilla/xpcom/base/nsTraceRefcntImpl.h @@ -54,6 +54,8 @@ public: static NS_COM void LoadLibrarySymbols(const char* aLibraryName, void* aLibrayHandle); + + static NS_COM void WalkTheStack(char* aBuffer, int aBufLen); }; #endif /* nsTraceRefcnt_h___ */ diff --git a/mozilla/xpcom/public/nsTraceRefcnt.h b/mozilla/xpcom/public/nsTraceRefcnt.h index 36b04d031c2..fa0f7b1b5e3 100644 --- a/mozilla/xpcom/public/nsTraceRefcnt.h +++ b/mozilla/xpcom/public/nsTraceRefcnt.h @@ -54,6 +54,8 @@ public: static NS_COM void LoadLibrarySymbols(const char* aLibraryName, void* aLibrayHandle); + + static NS_COM void WalkTheStack(char* aBuffer, int aBufLen); }; #endif /* nsTraceRefcnt_h___ */ diff --git a/mozilla/xpcom/src/nsTraceRefcnt.cpp b/mozilla/xpcom/src/nsTraceRefcnt.cpp index 876cade1f1e..f8f41ff8688 100644 --- a/mozilla/xpcom/src/nsTraceRefcnt.cpp +++ b/mozilla/xpcom/src/nsTraceRefcnt.cpp @@ -95,8 +95,8 @@ EnumModulesCB(LPSTR aModuleName, * the rebasing and accordingly I've made a tool to use it to rebase the * DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp). */ -static void -WalkTheStack(char* aBuffer, int aBufLen) +void +nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen) { CONTEXT context; STACKFRAME frame; @@ -191,8 +191,8 @@ WalkTheStack(char* aBuffer, int aBufLen) } #else /* _WIN32 */ -static void -WalkTheStack(char* aBuffer, int aBufLen) +void +nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen) { aBuffer[0] = '\0'; }