mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
another bustage fix, fix up the PR_LOG ifdefs from the last commit. b=384941 rs=biesi
This commit is contained in:
parent
2003424352
commit
95baf6ccee
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user