Merge m-c to autoland, a=merge CLOSED TREE

MozReview-Commit-ID: 1XYfqTZv3GF
This commit is contained in:
Wes Kocher committed 2017-07-18 18:24:49 -07:00
commit 12432754ec
1 file changed
+3 -1
+3 -1
View File
@@ -5886,8 +5886,10 @@ nsCSSFrameConstructor::AddFrameConstructionItemsInternal(nsFrameConstructorState
// first time. Thus call StyleNewChildren() again.
styleSet->StyleNewChildren(element);
// Because of LazyComputeBehavior::Assert we never create a style
// context here, so it's fine to pass a null parent.
styleContext =
styleSet->ResolveStyleFor(element, styleContext->GetParentAllowServo()->AsServo(),
styleSet->ResolveStyleFor(element, nullptr,
LazyComputeBehavior::Assert);
} else {
styleContext =