Index: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl |
index 2f1fc578035e3504e31aaadef5564a9349624082..5e738d20ec2931d012b750a30d38bf1222e2c2d0 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl |
@@ -16,7 +16,7 @@ ASSERT_SIZE(ComputedStyleBase, SameSizeAsComputedStyleBase); |
void ComputedStyleBase::inheritFrom(const ComputedStyleBase& inheritParent, |
IsAtShadowBoundary isAtShadowBoundary) { |
- {% for field in fields if field.is_property and field.is_inherited %} |
alancutter (OOO until 2018)
2017/03/22 06:25:19
Good to see is_property checks being removed. Woul
shend
2017/03/22 22:02:00
It is unlikely we'll be able to remove is_property
|
+ {% for field in fields if field.is_inherited %} |
{{field.name}} = inheritParent.{{field.name}}; |
{% endfor %} |
} |