Index: Source/core/dom/ProcessingInstruction.h |
diff --git a/Source/core/dom/ProcessingInstruction.h b/Source/core/dom/ProcessingInstruction.h |
index 15201daa6dc4103720e4f5dd52ac0f2fc27443f0..a85dfb9afcbc8c928efe9c00e25f9302c35e88db 100644 |
--- a/Source/core/dom/ProcessingInstruction.h |
+++ b/Source/core/dom/ProcessingInstruction.h |
@@ -86,6 +86,11 @@ private: |
DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, nodeType() == Node::PROCESSING_INSTRUCTION_NODE); |
+inline bool isXSLStyleSheet(const Node* node) |
esprehn
2014/06/06 01:32:55
This should take a reference.
tasak
2014/06/09 04:04:57
Done.
|
+{ |
+ return node->nodeType() == Node::PROCESSING_INSTRUCTION_NODE && toProcessingInstruction(node)->isXSL(); |
+} |
+ |
} // namespace WebCore |
#endif |