mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1122936 - Make nsPlainTextSerializer final; r=bzbarsky
This commit is contained in:
parent
6c843dd2d0
commit
c954b38f5f
@ -32,7 +32,7 @@ class Element;
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
class nsPlainTextSerializer : public nsIContentSerializer
|
||||
class nsPlainTextSerializer MOZ_FINAL : public nsIContentSerializer
|
||||
{
|
||||
public:
|
||||
nsPlainTextSerializer();
|
||||
@ -67,8 +67,8 @@ public:
|
||||
NS_IMETHOD AppendDocumentStart(nsIDocument *aDocument,
|
||||
nsAString& aStr) MOZ_OVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual ~nsPlainTextSerializer();
|
||||
private:
|
||||
~nsPlainTextSerializer();
|
||||
|
||||
nsresult GetAttributeValue(nsIAtom* aName, nsString& aValueRet);
|
||||
void AddToLine(const char16_t* aStringToAdd, int32_t aLength);
|
||||
@ -114,10 +114,9 @@ protected:
|
||||
|
||||
bool ShouldReplaceContainerWithPlaceholder(nsIAtom* aTag);
|
||||
|
||||
private:
|
||||
bool IsElementPreformatted(mozilla::dom::Element* aElement);
|
||||
|
||||
protected:
|
||||
private:
|
||||
nsString mCurrentLine;
|
||||
uint32_t mHeadLevel;
|
||||
bool mAtFirstColumn;
|
||||
|
Loading…
Reference in New Issue
Block a user