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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp

Issue 1451883002: [css-grid] Store lines instead of tracks in GridResolvedPosition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/resolver/StyleBuilderConverter.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
index ccdd3374aba7b1ae0b9696b3c7c79996c6a266c6..4b0fbc247974f88d6db2d78c56779c6302bd55a8 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
@@ -526,7 +526,7 @@ void StyleBuilderConverter::createImplicitNamedGridLinesFromGridArea(const Named
}
{
NamedGridLinesMap::AddResult endResult = namedGridLines.add(namedGridAreaEntry.key + "-end", Vector<size_t>());
- endResult.storedValue->value.append(areaSpan.resolvedFinalPosition.toInt() + 1);
+ endResult.storedValue->value.append(areaSpan.resolvedFinalPosition.toInt());
std::sort(endResult.storedValue->value.begin(), endResult.storedValue->value.end());
}
}

Powered by Google App Engine
This is Rietveld 408576698