diff options
Diffstat (limited to 'WebCore/dom/ContainerNode.cpp')
-rw-r--r-- | WebCore/dom/ContainerNode.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/dom/ContainerNode.cpp b/WebCore/dom/ContainerNode.cpp index 6539e5b..80bd035 100644 --- a/WebCore/dom/ContainerNode.cpp +++ b/WebCore/dom/ContainerNode.cpp @@ -616,6 +616,11 @@ void ContainerNode::queuePostAttachCallback(NodeCallback callback, Node* node) s_postAttachCallbackQueue->append(std::pair<NodeCallback, RefPtr<Node> >(callback, node)); } +bool ContainerNode::postAttachCallbacksAreSuspended() +{ + return s_attachDepth; +} + void ContainerNode::dispatchPostAttachCallbacks() { // We recalculate size() each time through the loop because a callback |