Index: third_party/WebKit/Source/core/dom/Element.h |
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h |
index 1f21fcaf2f4483149f863d350b5fef51daa3857b..2c4aaf3d9e6c1e204c3085b5e6f04784d8564fc4 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.h |
+++ b/third_party/WebKit/Source/core/dom/Element.h |
@@ -649,6 +649,11 @@ private: |
PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); |
void setInlineStyleFromString(const AtomicString&); |
+ // Returns whether the only inherited changes in the parent element are |
+ // independent, and hence these changes can be directly propagated to this |
+ // element (the child). |
+ bool canPropagateInheritedProperties(StyleRecalcChange); |
+ |
StyleRecalcChange recalcOwnStyle(StyleRecalcChange); |
// TODO(nainar): Make this const ComputedStyle&. |
StyleRecalcChange buildOwnLayout(ComputedStyle&); |