| Index: Source/core/dom/Node.h
|
| diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
|
| index 7f884a26e10150f1057b0f9f343a76af6b908c54..6bb7ae502f27b93712fe24ab0081d875a81f0c1e 100644
|
| --- a/Source/core/dom/Node.h
|
| +++ b/Source/core/dom/Node.h
|
| @@ -371,6 +371,13 @@ public:
|
| void clearChildNeedsDistributionRecalc() { clearFlag(ChildNeedsDistributionRecalc); }
|
| void markAncestorsWithChildNeedsDistributionRecalc();
|
|
|
| + bool childNeedsStyleInvalidation() const { return getFlag(ChildNeedsStyleInvalidation); }
|
| + void setChildNeedsStyleInvalidation() { setFlag(ChildNeedsStyleInvalidation); }
|
| + void clearChildNeedsStyleInvalidation() { clearFlag(ChildNeedsStyleInvalidation); }
|
| + void markAncestorsWithChildNeedsStyleInvalidation();
|
| + bool needsStyleInvalidation() { return getFlag(NeedsStyleInvalidation); }
|
| + void setNeedsStyleInvalidation();
|
| +
|
| void recalcDistribution();
|
|
|
| bool shouldNotifyRendererWithIdenticalStyles() const { return getFlag(NotifyRendererWithIdenticalStyles); }
|
| @@ -714,10 +721,13 @@ private:
|
| CustomElement = 1 << 27,
|
| CustomElementUpgraded = 1 << 28,
|
|
|
| + ChildNeedsStyleInvalidation = 1 << 29,
|
| + NeedsStyleInvalidation = 1 << 30,
|
| +
|
| DefaultNodeFlags = IsParsingChildrenFinishedFlag | ChildNeedsStyleRecalcFlag | NeedsReattachStyleChange
|
| };
|
|
|
| - // 4 bits remaining.
|
| + // 1 bit remaining.
|
|
|
| bool getFlag(NodeFlags mask) const { return m_nodeFlags & mask; }
|
| void setFlag(bool f, NodeFlags mask) const { m_nodeFlags = (m_nodeFlags & ~mask) | (-(int32_t)f & mask); }
|
|
|