Chromium Code Reviews| Index: Source/core/dom/Element.h |
| diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h |
| index 2ff1f47f7e2b8123da0183888c329ed76967bc23..d6fda29e7a971e4c5af076e89e78cf8b1a41c184 100644 |
| --- a/Source/core/dom/Element.h |
| +++ b/Source/core/dom/Element.h |
| @@ -51,6 +51,7 @@ class ElementShadow; |
| class ExceptionState; |
| class Image; |
| class InputMethodContext; |
| +class InsertionPoint; |
| class IntSize; |
| class Locale; |
| class MutableStylePropertySet; |
| @@ -304,7 +305,7 @@ public: |
| virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
| virtual RenderObject* createRenderer(RenderStyle*); |
| virtual bool rendererIsNeeded(const RenderStyle&); |
| - void recalcStyle(StyleRecalcChange, Text* nextTextSibling = 0); |
| + void recalcStyle(StyleRecalcChange, Text* nextTextSibling = 0, InsertionPoint* shadowInsertionPoint = 0); |
| void didAffectSelector(AffectedSelectorMask); |
| bool supportsStyleSharing() const; |
| @@ -314,6 +315,7 @@ public: |
| PassRefPtr<ShadowRoot> createShadowRoot(ExceptionState&); |
| ShadowRoot* shadowRoot() const; |
| ShadowRoot* youngestShadowRoot() const; |
| + ShadowRoot* oldestShadowRoot() const; |
| bool hasAuthorShadowRoot() const { return shadowRoot(); } |
| virtual void didAddShadowRoot(ShadowRoot&); |
| @@ -574,7 +576,7 @@ private: |
| MutableStylePropertySet* ensureMutableInlineStyle(); |
| StyleRecalcChange recalcOwnStyle(StyleRecalcChange); |
| - void recalcChildStyle(StyleRecalcChange); |
| + void recalcChildStyle(StyleRecalcChange, InsertionPoint* shadowInsertionPoint); |
|
esprehn
2013/12/11 09:53:27
= 0, so you don't need to pass it below.
|
| // FIXME: These methods should all be renamed to something better than "check", |
| // since it's not clear that they alter the style bits of siblings and children. |