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

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

Issue 1124063004: [CSS Grid Layout] Implement CSSGridTemplateAreasValue::equals (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « Source/core/css/CSSGridTemplateAreasValue.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSGridTemplateAreasValue.cpp
diff --git a/Source/core/css/CSSGridTemplateAreasValue.cpp b/Source/core/css/CSSGridTemplateAreasValue.cpp
index 5f527b15663f0ca49f86b4bda35f84610b8a0724..f5ea076384dd715a87b31811677d1fe5501e6b7c 100644
--- a/Source/core/css/CSSGridTemplateAreasValue.cpp
+++ b/Source/core/css/CSSGridTemplateAreasValue.cpp
@@ -81,4 +81,9 @@ String CSSGridTemplateAreasValue::customCSSText() const
return builder.toString();
}
+bool CSSGridTemplateAreasValue::equals(const CSSGridTemplateAreasValue& other) const
+{
+ return m_gridAreaMap == other.m_gridAreaMap && m_rowCount == other.m_rowCount && m_columnCount == other.m_columnCount;
+}
+
} // namespace blink
« no previous file with comments | « Source/core/css/CSSGridTemplateAreasValue.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698