Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
This commit is contained in:
@@ -1058,7 +1058,7 @@ nsExpatDriver::ConsumeToken(nsScanner& aScanner, bool& aFlushTokens)
|
||||
nsScannerIterator end;
|
||||
aScanner.EndReading(end);
|
||||
|
||||
PR_LOG(GetExpatDriverLog(), PR_LOG_DEBUG,
|
||||
MOZ_LOG(GetExpatDriverLog(), PR_LOG_DEBUG,
|
||||
("Remaining in expat's buffer: %i, remaining in scanner: %i.",
|
||||
mExpatBuffered, Distance(start, end)));
|
||||
|
||||
@@ -1079,7 +1079,7 @@ nsExpatDriver::ConsumeToken(nsScanner& aScanner, bool& aFlushTokens)
|
||||
length = 0;
|
||||
|
||||
if (blocked) {
|
||||
PR_LOG(GetExpatDriverLog(), PR_LOG_DEBUG,
|
||||
MOZ_LOG(GetExpatDriverLog(), PR_LOG_DEBUG,
|
||||
("Resuming Expat, will parse data remaining in Expat's "
|
||||
"buffer.\nContent of Expat's buffer:\n-----\n%s\n-----\n",
|
||||
NS_ConvertUTF16toUTF8(currentExpatPosition.get(),
|
||||
@@ -1088,7 +1088,7 @@ nsExpatDriver::ConsumeToken(nsScanner& aScanner, bool& aFlushTokens)
|
||||
else {
|
||||
NS_ASSERTION(mExpatBuffered == Distance(currentExpatPosition, end),
|
||||
"Didn't pass all the data to Expat?");
|
||||
PR_LOG(GetExpatDriverLog(), PR_LOG_DEBUG,
|
||||
MOZ_LOG(GetExpatDriverLog(), PR_LOG_DEBUG,
|
||||
("Last call to Expat, will parse data remaining in Expat's "
|
||||
"buffer.\nContent of Expat's buffer:\n-----\n%s\n-----\n",
|
||||
NS_ConvertUTF16toUTF8(currentExpatPosition.get(),
|
||||
@@ -1099,7 +1099,7 @@ nsExpatDriver::ConsumeToken(nsScanner& aScanner, bool& aFlushTokens)
|
||||
buffer = start.get();
|
||||
length = uint32_t(start.size_forward());
|
||||
|
||||
PR_LOG(GetExpatDriverLog(), PR_LOG_DEBUG,
|
||||
MOZ_LOG(GetExpatDriverLog(), PR_LOG_DEBUG,
|
||||
("Calling Expat, will parse data remaining in Expat's buffer and "
|
||||
"new data.\nContent of Expat's buffer:\n-----\n%s\n-----\nNew "
|
||||
"data:\n-----\n%s\n-----\n",
|
||||
@@ -1139,7 +1139,7 @@ nsExpatDriver::ConsumeToken(nsScanner& aScanner, bool& aFlushTokens)
|
||||
mExpatBuffered += length - consumed;
|
||||
|
||||
if (BlockedOrInterrupted()) {
|
||||
PR_LOG(GetExpatDriverLog(), PR_LOG_DEBUG,
|
||||
MOZ_LOG(GetExpatDriverLog(), PR_LOG_DEBUG,
|
||||
("Blocked or interrupted parser (probably for loading linked "
|
||||
"stylesheets or scripts)."));
|
||||
|
||||
@@ -1200,7 +1200,7 @@ nsExpatDriver::ConsumeToken(nsScanner& aScanner, bool& aFlushTokens)
|
||||
aScanner.SetPosition(currentExpatPosition, true);
|
||||
aScanner.Mark();
|
||||
|
||||
PR_LOG(GetExpatDriverLog(), PR_LOG_DEBUG,
|
||||
MOZ_LOG(GetExpatDriverLog(), PR_LOG_DEBUG,
|
||||
("Remaining in expat's buffer: %i, remaining in scanner: %i.",
|
||||
mExpatBuffered, Distance(currentExpatPosition, end)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user