Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen

This commit is contained in:
Marco Castelluccio
2011-08-14 10:39:26 -07:00
parent 824055b462
commit 09cdbdd268
10 changed files with 40 additions and 96 deletions

View File

@@ -61,9 +61,8 @@
#include "nsHtml5StreamParser.h"
#include "nsHtml5AtomTable.h"
#include "nsWeakReference.h"
#include "nsAHtml5FragmentParser.h"
class nsHtml5Parser : public nsAHtml5FragmentParser, // inherits nsIParser
class nsHtml5Parser : public nsIParser,
public nsSupportsWeakReference
{
public:
@@ -257,8 +256,6 @@ class nsHtml5Parser : public nsAHtml5FragmentParser, // inherits nsIParser
/* End nsIParser */
/* Start nsAHtml5FragmentParser */
/**
* Invoke the fragment parsing algorithm (innerHTML).
*
@@ -271,15 +268,12 @@ class nsHtml5Parser : public nsAHtml5FragmentParser, // inherits nsIParser
* don't set to false when parsing into a target node that has been bound
* to tree.
*/
NS_IMETHOD ParseHtml5Fragment(const nsAString& aSourceBuffer,
nsIContent* aTargetNode,
nsIAtom* aContextLocalName,
PRInt32 aContextNamespace,
PRBool aQuirks,
PRBool aPreventScriptExecution);
/* End nsAHtml5FragmentParser */
nsresult ParseHtml5Fragment(const nsAString& aSourceBuffer,
nsIContent* aTargetNode,
nsIAtom* aContextLocalName,
PRInt32 aContextNamespace,
PRBool aQuirks,
PRBool aPreventScriptExecution);
// Not from an external interface
// Non-inherited methods