mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Bug 772758 - Clean up some build warnings in html5 parser r=hsivonen
This commit is contained in:
parent
ce2de9b176
commit
efca466fbb
@ -497,10 +497,10 @@ public class Tokenizer implements Locator {
|
||||
|
||||
private final boolean newAttributesEachTime;
|
||||
|
||||
// ]NOCPP]
|
||||
|
||||
private int mappingLangToXmlLang;
|
||||
|
||||
// ]NOCPP]
|
||||
|
||||
private boolean shouldSuspend;
|
||||
|
||||
protected boolean confident;
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -131,7 +131,6 @@ class nsHtml5Tokenizer
|
||||
nsString* publicIdentifier;
|
||||
nsString* systemIdentifier;
|
||||
nsHtml5HtmlAttributes* attributes;
|
||||
PRInt32 mappingLangToXmlLang;
|
||||
bool shouldSuspend;
|
||||
protected:
|
||||
bool confident;
|
||||
|
Loading…
x
Reference in New Issue
Block a user