Index: Source/core/style/ComputedStyle.cpp |
diff --git a/Source/core/style/ComputedStyle.cpp b/Source/core/style/ComputedStyle.cpp |
index 0dd637c5d032543bc5d727b228699d93667b8f9f..7970b790cb88a7c615bcc67084d649f2c408801c 100644 |
--- a/Source/core/style/ComputedStyle.cpp |
+++ b/Source/core/style/ComputedStyle.cpp |
@@ -1742,4 +1742,11 @@ void ComputedStyle::getBorderEdgeInfo(BorderEdge edges[], bool includeLogicalLef |
!horizontal || includeLogicalLeftEdge); |
} |
+void ComputedStyle::copyChildDependentFlagsFrom(const ComputedStyle& other) |
+{ |
+ setEmptyState(other.emptyState()); |
+ if (other.hasExplicitlyInheritedProperties()) |
+ setHasExplicitlyInheritedProperties(); |
+} |
+ |
} // namespace blink |