Bug 1227501 patch 1 - Don't check flags for eCSSPropertyExtra_variable. r=xidorn

I tested locally that the crashtest in patch 2 hits the fatal assertion
without this patch, and passes with the patch.

--HG--
extra : commitid : 8NwOfppKxBN
This commit is contained in:
L. David Baron 2015-11-24 17:45:01 -08:00
Родитель e5a5e95ab1
Коммит f2ac6fad96
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -5945,6 +5945,7 @@ nsRuleNode::ComputeDisplayData(void* aStartStruct,
nsCSSProps::LookupProperty(buffer,
nsCSSProps::eEnabledForAllContent);
if (prop != eCSSProperty_UNKNOWN &&
prop != eCSSPropertyExtra_variable &&
nsCSSProps::PropHasFlags(prop,
CSS_PROPERTY_CREATES_STACKING_CONTEXT))
{