mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 720124 - Remove dead code from HTMLContentSink: mNumOpenIFRAMES; r=hsivonen
This commit is contained in:
parent
4a0736a867
commit
63df7a3a51
@ -249,7 +249,6 @@ protected:
|
||||
nsAutoTArray<SinkContext*, 8> mContextStack;
|
||||
SinkContext* mCurrentContext;
|
||||
SinkContext* mHeadContext;
|
||||
PRInt32 mNumOpenIFRAMES;
|
||||
|
||||
// depth of containment within <noembed>, <noframes> etc
|
||||
PRInt32 mInsideNoXXXTag;
|
||||
@ -754,10 +753,6 @@ SinkContext::OpenContainer(const nsIParserNode& aNode)
|
||||
mSink->mInsideNoXXXTag++;
|
||||
break;
|
||||
|
||||
case eHTMLTag_iframe:
|
||||
mSink->mNumOpenIFRAMES++;
|
||||
break;
|
||||
|
||||
case eHTMLTag_script:
|
||||
case eHTMLTag_style:
|
||||
MOZ_NOT_REACHED("Must not use HTMLContentSink for styles and scripts.");
|
||||
@ -889,10 +884,6 @@ SinkContext::CloseContainer(const nsHTMLTag aTag)
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
case eHTMLTag_iframe:
|
||||
mSink->mNumOpenIFRAMES--;
|
||||
|
||||
break;
|
||||
|
||||
#ifdef MOZ_MEDIA
|
||||
|
Loading…
Reference in New Issue
Block a user