mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 780502 - Remove unsound assertion; r=ehsan
This commit is contained in:
parent
47bb1e7649
commit
de02017227
@ -642,7 +642,6 @@ nsHTMLCSSUtils::GetComputedStyle(dom::Element* aElement)
|
||||
MOZ_ASSERT(aElement);
|
||||
|
||||
nsIDocument* doc = aElement->GetCurrentDoc();
|
||||
NS_ASSERTION(doc, "Trying to compute style of detached element");
|
||||
NS_ENSURE_TRUE(doc, nullptr);
|
||||
|
||||
nsIPresShell* presShell = doc->GetShell();
|
||||
|
Loading…
Reference in New Issue
Block a user