Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky.

This commit is contained in:
Henri Sivonen
2011-08-01 10:48:24 +03:00
parent ca061c97f8
commit 2fa0fb46af
34 changed files with 359 additions and 1233 deletions

View File

@@ -207,20 +207,7 @@ class nsHtml5Parser : public nsAHtml5FragmentParser, // inherits nsIParser
* Don't call. For interface backwards compat only.
*/
NS_IMETHOD ParseFragment(const nsAString& aSourceBuffer,
void* aKey,
nsTArray<nsString>& aTagStack,
PRBool aXMLMode,
const nsACString& aContentType,
nsDTDMode aMode = eDTDMode_autodetect);
/**
* Don't call. For interface backwards compat only.
*/
NS_IMETHOD ParseFragment(const nsAString& aSourceBuffer,
nsIContent* aTargetNode,
nsIAtom* aContextLocalName,
PRInt32 aContextNamespace,
PRBool aQuirks);
nsTArray<nsString>& aTagStack);
/**
* Don't call. For interface compat only.