mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 14:02:47 +00:00
Bug 1075093 - Build error in txStylesheet.cpp when enabling PR_LOGGING in non-debug builds. r=froydnj
This commit is contained in:
parent
1aebc79688
commit
fd4944d360
@ -128,7 +128,7 @@ txStylesheet::findTemplate(const txXPathNode& aNode,
|
||||
endFrame = aImportedBy->mFirstNotImported;
|
||||
}
|
||||
|
||||
#ifdef PR_LOGGING
|
||||
#if defined(PR_LOGGING) && defined(TX_TO_STRING)
|
||||
txPattern* match = 0;
|
||||
#endif
|
||||
|
||||
@ -149,7 +149,7 @@ txStylesheet::findTemplate(const txXPathNode& aNode,
|
||||
if (templ.mMatch->matches(aNode, aContext)) {
|
||||
matchTemplate = templ.mFirstInstruction;
|
||||
*aImportFrame = frame;
|
||||
#ifdef PR_LOGGING
|
||||
#if defined(PR_LOGGING) && defined(TX_TO_STRING)
|
||||
match = templ.mMatch;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user