| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index d9d7c2484c7468be55b58399c2a49b3a376d4257..deb789d648f5c49cb255d46064bf1b09c6317e2b 100644
|
| --- a/Source/core/dom/Node.cpp
|
| +++ b/Source/core/dom/Node.cpp
|
| @@ -734,6 +734,11 @@ void Node::setNeedsStyleRecalc(StyleChangeType changeType, StyleChangeSource sou
|
| markAncestorsWithChildNeedsStyleRecalc();
|
| }
|
|
|
| +bool Node::inActiveDocument() const
|
| +{
|
| + return inDocument() && document().isActive();
|
| +}
|
| +
|
| void Node::lazyAttach()
|
| {
|
| markAncestorsWithChildNeedsStyleRecalc();
|
|
|