Index: third_party/WebKit/Source/core/css/CSSGridTemplateAreasValue.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSGridTemplateAreasValue.cpp b/third_party/WebKit/Source/core/css/CSSGridTemplateAreasValue.cpp |
index e928c15d7cb1d4251bc4bd224c756dfd966baef5..1699b6a14ce098f9cce6277bf0a2e21f9f0c6c7e 100644 |
--- a/third_party/WebKit/Source/core/css/CSSGridTemplateAreasValue.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSGridTemplateAreasValue.cpp |
@@ -50,13 +50,13 @@ static String stringForPosition(const NamedGridAreaMap& gridAreaMap, size_t row, |
for (const auto& item : gridAreaMap) { |
const GridArea& area = item.value; |
- if (row >= area.rows.resolvedInitialPosition() && row < area.rows.resolvedFinalPosition()) |
+ if (row >= area.rows.startLine() && row < area.rows.endLine()) |
candidates.append(item.key); |
} |
for (const auto& item : gridAreaMap) { |
const GridArea& area = item.value; |
- if (column >= area.columns.resolvedInitialPosition() && column < area.columns.resolvedFinalPosition() && candidates.contains(item.key)) |
+ if (column >= area.columns.startLine() && column < area.columns.endLine() && candidates.contains(item.key)) |
return item.key; |
} |