Backed out changeset 9b715399e585 (bug 1310123) for build failures a=backout CLOSED TREE

This commit is contained in:
Wes Kocher 2016-10-25 16:54:45 -07:00
Родитель e04fc55c09
Коммит e12c1e7155
2 изменённых файлов: 9 добавлений и 5 удалений

Просмотреть файл

@ -45,6 +45,11 @@ static_assert((((1 << nsStyleStructID_Length) - 1) &
~(NS_STYLE_INHERIT_MASK)) == 0,
"Not enough bits in NS_STYLE_INHERIT_MASK");
// These are the limits that we choose to clamp grid line numbers to.
// http://dev.w3.org/csswg/css-grid/#overlarge-grids
const int32_t nsStyleGridLine::kMinLine = -10000;
const int32_t nsStyleGridLine::kMaxLine = 10000;
static bool
EqualURIs(nsIURI *aURI1, nsIURI *aURI2)
{
@ -817,6 +822,7 @@ nsStyleXUL::CalcDifference(const nsStyleXUL& aNewData) const
// --------------------
// nsStyleColumn
//
/* static */ const uint32_t nsStyleColumn::kMaxColumnCount = 1000;
nsStyleColumn::nsStyleColumn(StyleStructContext aContext)
: mColumnCount(NS_STYLE_COLUMN_COUNT_AUTO)

Просмотреть файл

@ -1593,11 +1593,9 @@ struct nsStyleGridLine
int32_t mInteger; // 0 means not provided
nsString mLineName; // Empty string means not provided.
// These are the limits that we choose to clamp grid line numbers to.
// http://dev.w3.org/csswg/css-grid/#overlarge-grids
// mInteger is clamped to this range:
static const int32_t kMinLine = -10000;
static const int32_t kMaxLine = 10000;
static const int32_t kMinLine;
static const int32_t kMaxLine;
nsStyleGridLine()
: mHasSpan(false)
@ -3469,7 +3467,7 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleColumn
* This is the maximum number of columns we can process. It's used in both
* nsColumnSetFrame and nsRuleNode.
*/
static const uint32_t kMaxColumnCount = 1000;
static const uint32_t kMaxColumnCount;
uint32_t mColumnCount; // [reset] see nsStyleConsts.h
nsStyleCoord mColumnWidth; // [reset] coord, auto