summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/ProcessingInstruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/ProcessingInstruction.cpp')
-rw-r--r--WebCore/dom/ProcessingInstruction.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/WebCore/dom/ProcessingInstruction.cpp b/WebCore/dom/ProcessingInstruction.cpp
index 72993dd..8a94864 100644
--- a/WebCore/dom/ProcessingInstruction.cpp
+++ b/WebCore/dom/ProcessingInstruction.cpp
@@ -280,4 +280,26 @@ void ProcessingInstruction::finishParsingChildren()
ContainerNode::finishParsingChildren();
}
+#ifdef ANDROID_INSTRUMENT
+void* ProcessingInstruction::operator new(size_t size)
+{
+ return Node::operator new(size);
+}
+
+void* ProcessingInstruction::operator new[](size_t size)
+{
+ return Node::operator new[](size);
+}
+
+void ProcessingInstruction::operator delete(void* p, size_t size)
+{
+ Node::operator delete(p, size);
+}
+
+void ProcessingInstruction::operator delete[](void* p, size_t size)
+{
+ Node::operator delete[](p, size);
+}
+#endif
+
} // namespace