Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/dom/Node.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.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/dom/Node.h
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
index ad8cbb44bc25ed3e16ec6a51c36b4e1fb368847f..5c8a8b54a53181cca277f82d179b555aa3154e95 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -874,7 +874,7 @@ inline void Node::lazyReattachIfAttached()
inline bool Node::shouldCallRecalcStyle(StyleRecalcChange change)
{
- return change >= Inherit || needsStyleRecalc() || childNeedsStyleRecalc();
+ return change >= IndependentInherit || needsStyleRecalc() || childNeedsStyleRecalc();
}
inline bool isTreeScopeRoot(const Node* node)

Powered by Google App Engine