| Index: Source/core/dom/shadow/ElementShadow.h
|
| diff --git a/Source/core/dom/shadow/ElementShadow.h b/Source/core/dom/shadow/ElementShadow.h
|
| index 9017ddcafb749cd8dba150e69abdcc23885c3877..3f32f46d0238d3ee772d3dee098aa7a14a0ed169 100644
|
| --- a/Source/core/dom/shadow/ElementShadow.h
|
| +++ b/Source/core/dom/shadow/ElementShadow.h
|
| @@ -67,6 +67,7 @@ public:
|
|
|
| void distributeIfNeeded();
|
| void setNeedsDistributionRecalc();
|
| + bool needsDistributionRecalc() const { return m_needsDistributionRecalc; }
|
|
|
| const InsertionPoint* finalDestinationInsertionPointFor(const Node*) const;
|
| const DestinationInsertionPoints* destinationInsertionPointsFor(const Node*) const;
|
| @@ -118,6 +119,13 @@ inline ShadowRoot* Element::youngestShadowRoot() const
|
| return 0;
|
| }
|
|
|
| +inline ShadowRoot* Element::oldestShadowRoot() const
|
| +{
|
| + if (ElementShadow* shadow = this->shadow())
|
| + return shadow->oldestShadowRoot();
|
| + return 0;
|
| +}
|
| +
|
| inline ElementShadow* ElementShadow::containingShadow() const
|
| {
|
| if (ShadowRoot* parentRoot = host()->containingShadowRoot())
|
|
|