mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 03:21:51 -10:00
Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: 1XYfqTZv3GF
This commit is contained in:
commit
12432754ec
1 file changed
+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 =
|
||||
|
||||
Reference in new issue
Block a user