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 8f42158bc1139a8b9935e301bc204068b0a93381..ba817d44c0dc7afd96da502f0259b986f09530e4 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.h |
+++ b/third_party/WebKit/Source/core/dom/Element.h |
@@ -666,6 +666,12 @@ private: |
PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); |
void setInlineStyleFromString(const AtomicString&); |
+ // If the only inherited changes in the parent element are independent, |
+ // these changes can be directly propagated to this element (the child). |
+ // If these conditions are met, propagates the changes to the current style |
+ // and returns the new style. Otherwise, returns null. |
+ PassRefPtr<ComputedStyle> propagateInheritedProperties(StyleRecalcChange); |
+ |
StyleRecalcChange recalcOwnStyle(StyleRecalcChange); |
// TODO(nainar): Make this const ComputedStyle&. |
StyleRecalcChange buildLayoutTree(ComputedStyle&); |