another bustage fix, fix up the PR_LOG ifdefs from the last commit. b=384941 rs=biesi

This commit is contained in:
dcamp%mozilla.com 2007-08-31 23:48:39 +00:00
Родитель e4aff1757e
Коммит cfd739c89f
2 изменённых файлов: 6 добавлений и 6 удалений

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

@ -9136,7 +9136,7 @@ nsClassifierCallback::Run()
rv = channel->Suspend();
NS_ENSURE_SUCCESS(rv, rv);
mSuspendedChannel = channel;
#if defined(PR_LOGGING) && defined(DEBUG)
#ifdef DEBUG
PR_LOG(gDocShellLog, PR_LOG_DEBUG,
("nsClassifierCallback[%p]: suspended channel %p",
this, mSuspendedChannel.get()));
@ -9151,14 +9151,14 @@ nsClassifierCallback::OnClassifyComplete(nsresult aErrorCode)
{
if (mSuspendedChannel) {
if (NS_FAILED(aErrorCode)) {
#if defined(PR_LOGGING) && defined(DEBUG)
#ifdef DEBUG
PR_LOG(gDocShellLog, PR_LOG_DEBUG,
("nsClassifierCallback[%p]: cancelling channel %p with error code: %d",
this, mSuspendedChannel.get(), aErrorCode));
mSuspendedChannel->Cancel(aErrorCode);
#endif
mSuspendedChannel->Cancel(aErrorCode);
}
#if defined(PR_LOGGING) && defined(DEBUG)
#ifdef DEBUG
PR_LOG(gDocShellLog, PR_LOG_DEBUG,
("nsClassifierCallback[%p]: resuming channel %p from OnClassifyComplete",
this, mSuspendedChannel.get()));
@ -9174,7 +9174,7 @@ void
nsClassifierCallback::Cancel()
{
if (mSuspendedChannel) {
#if defined(PR_LOGGING) && defined(DEBUG)
#ifdef DEBUG
PR_LOG(gDocShellLog, PR_LOG_DEBUG,
("nsClassifierCallback[%p]: resuming channel %p from Cancel()",
this, mSuspendedChannel.get()));

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

@ -2056,7 +2056,7 @@ private:
};
NS_IMPL_THREADSAFE_ISUPPORTS1(nsUrlClassifierClassifyCallback,
nsIUrlClassifierCallback);
nsIUrlClassifierCallback)
NS_IMETHODIMP
nsUrlClassifierClassifyCallback::HandleEvent(const nsACString& tables)