mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1265154 - Fix compile error in MSVC 2013 caused by ArrayLength; r=heycam
MozReview-Commit-ID: DvyCNwTRiI7
This commit is contained in:
parent
05276091f4
commit
1f80f6d497
@ -910,8 +910,8 @@ KTableEntry nsCSSProps::kBackgroundClipKTable[] = {
|
||||
{ eCSSKeyword_UNKNOWN, -1 }
|
||||
};
|
||||
|
||||
static_assert(ArrayLength(nsCSSProps::kImageLayerOriginKTable) ==
|
||||
ArrayLength(nsCSSProps::kBackgroundClipKTable) - 1,
|
||||
static_assert(MOZ_ARRAY_LENGTH(nsCSSProps::kImageLayerOriginKTable) ==
|
||||
MOZ_ARRAY_LENGTH(nsCSSProps::kBackgroundClipKTable) - 1,
|
||||
"background-clip has one extra value, which is text, compared"
|
||||
"to {background,mask}-origin");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user