gLogModule defined only inside of NS_DEBUG. Protecting access.
git-svn-id: svn://10.0.0.236/trunk@43387 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2566,7 +2566,7 @@ nsWebShell::GetURL(PRInt32 aHistoryIndex, const PRUnichar** aURLResult)
|
||||
void
|
||||
nsWebShell::ShowHistory()
|
||||
{
|
||||
#ifdef OLD_HISTORY
|
||||
#if defined(OLD_HISTORY) && defined(NS_DEBUG)
|
||||
if (WEB_LOG_TEST(gLogModule, WEB_TRACE_HISTORY)) {
|
||||
PRInt32 i, n = mHistory.Count();
|
||||
for (i = 0; i < n; i++) {
|
||||
|
||||
Reference in New Issue
Block a user