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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl

Issue 2830983003: Remove the concept of 'nonproperties' from ComputedStyle generator. (Closed)
Patch Set: Rebase Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
index 65ce7ae7e42c2fb7729dd2a6aee47f4242219e79..4d6e668571d57527382a82b3ec31ddd109fef4bb 100644
--- a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
@@ -39,6 +39,7 @@ class CORE_EXPORT ComputedStyleBase {
inline bool IndependentInheritedEqual(const ComputedStyleBase& o) const {
return (
{{fieldwise_compare(computed_style, computed_style.all_fields
+ |selectattr("is_property")
|selectattr("is_inherited")
|selectattr("is_independent")
|list
@@ -50,6 +51,7 @@ class CORE_EXPORT ComputedStyleBase {
inline bool NonIndependentInheritedEqual(const ComputedStyleBase& o) const {
return (
{{fieldwise_compare(computed_style, computed_style.all_fields
+ |selectattr("is_property")
|selectattr("is_inherited")
|rejectattr("is_independent")
|list
@@ -66,6 +68,7 @@ class CORE_EXPORT ComputedStyleBase {
return (
{{fieldwise_compare(computed_style, computed_style.all_fields
|selectattr("is_property")
+ |rejectattr("has_custom_compare_and_copy")
|rejectattr("is_inherited")
|list
)|indent(8)}}
« no previous file with comments | « third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698