mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 620275 - Remove an unnecessary null-check. r=bz
This commit is contained in:
parent
a275d1fe0b
commit
46ab9cf831
@ -100,10 +100,8 @@ nsSubDocumentFrame::Init(nsIContent* aContent,
|
||||
nsIFrame* aPrevInFlow)
|
||||
{
|
||||
// determine if we are a <frame> or <iframe>
|
||||
if (aContent) {
|
||||
nsCOMPtr<nsIDOMHTMLFrameElement> frameElem = do_QueryInterface(aContent);
|
||||
mIsInline = frameElem ? false : true;
|
||||
}
|
||||
nsCOMPtr<nsIDOMHTMLFrameElement> frameElem = do_QueryInterface(aContent);
|
||||
mIsInline = frameElem ? false : true;
|
||||
|
||||
nsLeafFrame::Init(aContent, aParent, aPrevInFlow);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user