Fix for bug 151002 (abstract the content by a treewalker). Patch by me, with parts by Pike and sicking. r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@149516 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
#include "txForwardContext.h"
|
||||
#include "txNodeSet.h"
|
||||
|
||||
Node* txForwardContext::getContextNode()
|
||||
const txXPathNode& txForwardContext::getContextNode()
|
||||
{
|
||||
return mContextNode;
|
||||
}
|
||||
@@ -63,7 +63,7 @@ nsresult txForwardContext::getVariable(PRInt32 aNamespace, nsIAtom* aLName,
|
||||
return mInner->getVariable(aNamespace, aLName, aResult);
|
||||
}
|
||||
|
||||
MBool txForwardContext::isStripSpaceAllowed(Node* aNode)
|
||||
MBool txForwardContext::isStripSpaceAllowed(const txXPathNode& aNode)
|
||||
{
|
||||
NS_ASSERTION(mInner, "mInner is null!!!");
|
||||
return mInner->isStripSpaceAllowed(aNode);
|
||||
|
||||
Reference in New Issue
Block a user