Bug 772758 - Clean up some build warnings in html5 parser r=hsivonen

This commit is contained in:
David Zbarsky 2012-07-13 11:55:21 -07:00
parent ce2de9b176
commit efca466fbb
5 changed files with 6 additions and 13 deletions

View File

@ -497,10 +497,10 @@ public class Tokenizer implements Locator {
private final boolean newAttributesEachTime;
// ]NOCPP]
private int mappingLangToXmlLang;
// ]NOCPP]
private boolean shouldSuspend;
protected boolean confident;

View File

@ -273,11 +273,6 @@ class nsHtml5Parser : public nsIParser,
*/
bool mDocWriteSpeculativeLastWasCR;
/**
* The parser is in the fragment mode
*/
bool mFragmentMode;
/**
* The parser is blocking on a script
*/
@ -300,9 +295,6 @@ class nsHtml5Parser : public nsIParser,
bool mInDocumentWrite;
// Gecko integration
void* mRootContextKey;
// Portable parser objects
/**
* The first buffer in the pending UTF-16 buffer queue

View File

@ -6,10 +6,11 @@
#define nsHtml5ReleasableAttributeName_h__
#include "nsHtml5AttributeName.h"
#include "mozilla/Attributes.h"
class nsHtml5AtomTable;
class nsHtml5ReleasableAttributeName : public nsHtml5AttributeName
class nsHtml5ReleasableAttributeName MOZ_FINAL : public nsHtml5AttributeName
{
public:
nsHtml5ReleasableAttributeName(PRInt32* uri, nsIAtom** local, nsIAtom** prefix);

View File

@ -6,8 +6,9 @@
#define nsHtml5ReleasableElementName_h__
#include "nsHtml5ElementName.h"
#include "mozilla/Attributes.h"
class nsHtml5ReleasableElementName : public nsHtml5ElementName
class nsHtml5ReleasableElementName MOZ_FINAL : public nsHtml5ElementName
{
public:
nsHtml5ReleasableElementName(nsIAtom* name);

View File

@ -131,7 +131,6 @@ class nsHtml5Tokenizer
nsString* publicIdentifier;
nsString* systemIdentifier;
nsHtml5HtmlAttributes* attributes;
PRInt32 mappingLangToXmlLang;
bool shouldSuspend;
protected:
bool confident;