| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index 439fef932015e5530f27f07b7a22f2d4cfdcc86e..01731ae92e6103580a88214751204db24b9b48d4 100644
|
| --- a/Source/core/dom/Node.cpp
|
| +++ b/Source/core/dom/Node.cpp
|
| @@ -71,6 +71,7 @@
|
| #include "core/dom/shadow/InsertionPoint.h"
|
| #include "core/dom/shadow/ShadowRoot.h"
|
| #include "core/editing/htmlediting.h"
|
| +#include "core/html/HTMLAnchorElement.h"
|
| #include "core/html/HTMLFrameOwnerElement.h"
|
| #include "core/html/HTMLStyleElement.h"
|
| #include "core/html/RadioNodeList.h"
|
| @@ -782,6 +783,12 @@ void Node::recalcDistribution()
|
| clearChildNeedsDistributionRecalc();
|
| }
|
|
|
| +void Node::setIsLink(bool isLink)
|
| +{
|
| + ASSERT(!isLink || !mustProhibitLinks(toElement(this)));
|
| + setFlag(isLink, IsLinkFlag);
|
| +}
|
| +
|
| void Node::markAncestorsWithChildNeedsDistributionRecalc()
|
| {
|
| for (Node* node = this; node && !node->childNeedsDistributionRecalc(); node = node->parentOrShadowHostNode())
|
|
|