Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Unified Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 2117143003: Add a fast-path for independent inherited properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@computedstyle_cleanup_rename_final_member_fields
Patch Set: Small rename Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..35d5f558b8177b3e9950db0ab37e0d506c51eede 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -649,6 +649,10 @@ private:
PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper();
void setInlineStyleFromString(const AtomicString&);
+ // Returns whether the parent contains independent-only inherited changes
+ // that can be directly propagated to the child.
meade_UTC10 2016/07/13 07:29:13 I found this a little hard to understand - "the ch
sashab 2016/07/14 05:08:41 Yup :) clarified the comment.
+ bool canPropagateInheritedProperties(StyleRecalcChange);
+
StyleRecalcChange recalcOwnStyle(StyleRecalcChange);
// TODO(nainar): Make this const ComputedStyle&.
StyleRecalcChange buildOwnLayout(ComputedStyle&);

Powered by Google App Engine
This is Rietveld 408576698