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

MozReview-Commit-ID: 1XYfqTZv3GF
This commit is contained in:
Wes Kocher 2017-07-18 18:24:49 -07:00
Родитель 0788e911cb dc28c48ef5
Коммит f537872046
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -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 =