Index: Source/core/rendering/style/StyleRareNonInheritedData.cpp |
diff --git a/Source/core/rendering/style/StyleRareNonInheritedData.cpp b/Source/core/rendering/style/StyleRareNonInheritedData.cpp |
index c93cdd4bfcc245aed82359d5fd7e94d3d383e5eb..3539ba1477a46011b23a4e98d89277adc40412d5 100644 |
--- a/Source/core/rendering/style/StyleRareNonInheritedData.cpp |
+++ b/Source/core/rendering/style/StyleRareNonInheritedData.cpp |
@@ -75,6 +75,7 @@ StyleRareNonInheritedData::StyleRareNonInheritedData() |
, m_hasAspectRatio(false) |
, m_effectiveBlendMode(RenderStyle::initialBlendMode()) |
, m_touchAction(RenderStyle::initialTouchAction()) |
+ , m_objectFit(RenderStyle::initialObjectFit()) |
{ |
m_maskBoxImage.setMaskDefaults(); |
} |
@@ -147,6 +148,7 @@ StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited |
, m_hasAspectRatio(o.m_hasAspectRatio) |
, m_effectiveBlendMode(o.m_effectiveBlendMode) |
, m_touchAction(o.m_touchAction) |
+ , m_objectFit(o.m_objectFit) |
{ |
} |
@@ -221,7 +223,8 @@ bool StyleRareNonInheritedData::operator==(const StyleRareNonInheritedData& o) c |
&& !m_runningAcceleratedAnimation && !o.m_runningAcceleratedAnimation |
&& m_effectiveBlendMode == o.m_effectiveBlendMode |
&& m_hasAspectRatio == o.m_hasAspectRatio |
- && m_touchAction == o.m_touchAction; |
+ && m_touchAction == o.m_touchAction |
+ && m_objectFit == o.m_objectFit; |
} |
bool StyleRareNonInheritedData::contentDataEquivalent(const StyleRareNonInheritedData& o) const |