Bug 1587905 - Remove useless variable 'subdocFrame' declaration & assignation r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D48889

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Sylvestre Ledru 2019-10-11 07:34:05 +00:00
Родитель f59dec1a5b
Коммит 605ec0d455
1 изменённых файлов: 1 добавлений и 2 удалений

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

@ -934,11 +934,10 @@ void nsHTMLFramesetFrame::Reflow(nsPresContext* aPresContext,
if (firstTime) {
int32_t childVis;
nsHTMLFramesetFrame* framesetFrame = do_QueryFrame(child);
nsSubDocumentFrame* subdocFrame;
if (framesetFrame) {
childVis = framesetFrame->mEdgeVisibility;
mChildBorderColors[childX] = framesetFrame->mEdgeColors;
} else if ((subdocFrame = do_QueryFrame(child))) {
} else if (child->IsSubDocumentFrame()) {
if (eFrameborder_Yes == mChildFrameborder[childX]) {
childVis = ALL_VIS;
} else if (eFrameborder_No == mChildFrameborder[childX]) {