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

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

Issue 636993002: [CSS Grid Layout] Upgrade justify-content parsing to CSS3 Box Alignment spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebaseline some tests expectations. Created 6 years, 2 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/CSSValue.h ('k') | Source/core/css/CSSValueKeywords.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSValue.cpp
diff --git a/Source/core/css/CSSValue.cpp b/Source/core/css/CSSValue.cpp
index c04db5a9348c6783bb2a086b4c45f980c40245b7..013d2ac72ec9a20dd0c0fbee117b524feadaa946 100644
--- a/Source/core/css/CSSValue.cpp
+++ b/Source/core/css/CSSValue.cpp
@@ -30,6 +30,7 @@
#include "core/css/CSSBorderImageSliceValue.h"
#include "core/css/CSSCalculationValue.h"
#include "core/css/CSSCanvasValue.h"
+#include "core/css/CSSContentDistributionValue.h"
#include "core/css/CSSCrossfadeValue.h"
#include "core/css/CSSCursorImageValue.h"
#include "core/css/CSSFilterValue.h"
@@ -209,6 +210,8 @@ bool CSSValue::equals(const CSSValue& other) const
return compareCSSValues<CSSFilterValue>(*this, other);
case CSSSVGDocumentClass:
return compareCSSValues<CSSSVGDocumentValue>(*this, other);
+ case CSSContentDistributionClass:
+ return compareCSSValues<CSSContentDistributionValue>(*this, other);
default:
ASSERT_NOT_REACHED();
return false;
@@ -285,6 +288,8 @@ String CSSValue::cssText() const
return toCSSFilterValue(this)->customCSSText();
case CSSSVGDocumentClass:
return toCSSSVGDocumentValue(this)->customCSSText();
+ case CSSContentDistributionClass:
+ return toCSSContentDistributionValue(this)->customCSSText();
}
ASSERT_NOT_REACHED();
return String();
@@ -384,6 +389,9 @@ void CSSValue::destroy()
case CSSSVGDocumentClass:
delete toCSSSVGDocumentValue(this);
return;
+ case CSSContentDistributionClass:
+ delete toCSSContentDistributionValue(this);
+ return;
}
ASSERT_NOT_REACHED();
}
@@ -482,6 +490,9 @@ void CSSValue::finalizeGarbageCollectedObject()
case CSSSVGDocumentClass:
toCSSSVGDocumentValue(this)->~CSSSVGDocumentValue();
return;
+ case CSSContentDistributionClass:
+ toCSSContentDistributionValue(this)->~CSSContentDistributionValue();
+ return;
}
ASSERT_NOT_REACHED();
}
@@ -580,6 +591,9 @@ void CSSValue::trace(Visitor* visitor)
case CSSSVGDocumentClass:
toCSSSVGDocumentValue(this)->traceAfterDispatch(visitor);
return;
+ case CSSContentDistributionClass:
+ toCSSContentDistributionValue(this)->traceAfterDispatch(visitor);
+ return;
}
ASSERT_NOT_REACHED();
}
« no previous file with comments | « Source/core/css/CSSValue.h ('k') | Source/core/css/CSSValueKeywords.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698