зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
f59dec1a5b
Коммит
605ec0d455
|
@ -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]) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче