Backed out changeset 77af189b5c49 (bug 1373984) for build bustage in nsHtml5Parser.cpp a=backout CLOSED TREE

MozReview-Commit-ID: 6kBmU71j2To
This commit is contained in:
Wes Kocher
2017-06-25 05:10:14 -07:00
parent de5721ea81
commit d214d1f5fa
81 changed files with 446 additions and 579 deletions

View File

@@ -136,7 +136,7 @@ public:
NS_IMETHOD WillResume(void) override;
NS_IMETHOD SetParser(nsParserBase* aParser) override;
virtual void FlushPendingNotifications(FlushType aType) override;
virtual void SetDocumentCharset(NotNull<const Encoding*> aEncoding) override;
NS_IMETHOD SetDocumentCharset(nsACString& aCharset) override;
virtual nsISupports *GetTarget() override;
virtual bool IsScriptExecuting() override;
@@ -1087,10 +1087,11 @@ HTMLContentSink::FlushTags()
return mCurrentContext ? mCurrentContext->FlushTags() : NS_OK;
}
void
HTMLContentSink::SetDocumentCharset(NotNull<const Encoding*> aEncoding)
NS_IMETHODIMP
HTMLContentSink::SetDocumentCharset(nsACString& aCharset)
{
MOZ_ASSERT_UNREACHABLE("<meta charset> case doesn't occur with about:blank");
return NS_ERROR_NOT_IMPLEMENTED;
}
nsISupports *