| Index: Source/core/dom/ProcessingInstruction.h
|
| diff --git a/Source/core/dom/ProcessingInstruction.h b/Source/core/dom/ProcessingInstruction.h
|
| index 53bc43db5467a87b837534dc1cf8167fa9ca47a4..befaccff04fb23a0fc7f6c117834661d9067e6cc 100644
|
| --- a/Source/core/dom/ProcessingInstruction.h
|
| +++ b/Source/core/dom/ProcessingInstruction.h
|
| @@ -85,6 +85,11 @@ private:
|
|
|
| DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, nodeType() == Node::PROCESSING_INSTRUCTION_NODE);
|
|
|
| +inline bool isXSLStyleSheet(const Node* node)
|
| +{
|
| + return node->nodeType() == Node::PROCESSING_INSTRUCTION_NODE && toProcessingInstruction(node)->isXSL();
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|
| #endif
|
|
|