Index: third_party/WebKit/Source/core/layout/LayoutGrid.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp |
index c289e73157282f2d53cb848b2e832d14ca529527..0e731899b345173206ba6cd948c03df045b032ba 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp |
@@ -308,7 +308,9 @@ void LayoutGrid::styleDidChange(StyleDifference diff, const ComputedStyle* oldSt |
bool LayoutGrid::explicitGridDidResize(const ComputedStyle& oldStyle) const |
{ |
return oldStyle.gridTemplateColumns().size() != styleRef().gridTemplateColumns().size() |
- || oldStyle.gridTemplateRows().size() != styleRef().gridTemplateRows().size(); |
+ || oldStyle.gridTemplateRows().size() != styleRef().gridTemplateRows().size() |
+ || oldStyle.namedGridAreaColumnCount() != styleRef().namedGridAreaColumnCount() |
+ || oldStyle.namedGridAreaRowCount() != styleRef().namedGridAreaRowCount(); |
} |
bool LayoutGrid::namedGridLinesDefinitionDidChange(const ComputedStyle& oldStyle) const |