зеркало из https://github.com/mozilla/gecko-dev.git
Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: 1XYfqTZv3GF
This commit is contained in:
Коммит
f537872046
|
@ -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 =
|
||||
|
|
Загрузка…
Ссылка в новой задаче