Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: third_party/WebKit/Source/core/css/CSSGridTemplateAreasValue.cpp

Issue 1648333002: [css-grid] Rename GridCoordinate to GridArea (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6f651919e2dc0af12a88e120ef0f2894b61d4270..e928c15d7cb1d4251bc4bd224c756dfd966baef5 100644
--- a/third_party/WebKit/Source/core/css/CSSGridTemplateAreasValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSGridTemplateAreasValue.cpp
@@ -49,14 +49,14 @@ static String stringForPosition(const NamedGridAreaMap& gridAreaMap, size_t row,
Vector<String> candidates;
for (const auto& item : gridAreaMap) {
- const GridCoordinate& coordinate = item.value;
- if (row >= coordinate.rows.resolvedInitialPosition() && row < coordinate.rows.resolvedFinalPosition())
+ const GridArea& area = item.value;
+ if (row >= area.rows.resolvedInitialPosition() && row < area.rows.resolvedFinalPosition())
candidates.append(item.key);
}
for (const auto& item : gridAreaMap) {
- const GridCoordinate& coordinate = item.value;
- if (column >= coordinate.columns.resolvedInitialPosition() && column < coordinate.columns.resolvedFinalPosition() && candidates.contains(item.key))
+ const GridArea& area = item.value;
+ if (column >= area.columns.resolvedInitialPosition() && column < area.columns.resolvedFinalPosition() && candidates.contains(item.key))
return item.key;
}

Powered by Google App Engine
This is Rietveld 408576698