Bug 580094 - Few SetInnerHTML micro optimizations , r=jst, a=benjamin

This commit is contained in:
Olli Pettay
2010-07-21 19:03:21 +03:00
parent f9ca83a7e3
commit 780c38d2b9
7 changed files with 17 additions and 20 deletions

View File

@@ -217,13 +217,13 @@ class nsHtml5Parser : public nsIParser,
* Invoke the fragment parsing algorithm (innerHTML).
*
* @param aSourceBuffer the string being set as innerHTML
* @param aTargetNode the target container (must QI to nsIContent)
* @param aTargetNode the target container
* @param aContextLocalName local name of context node
* @param aContextNamespace namespace of context node
* @param aQuirks true to make <table> not close <p>
*/
NS_IMETHOD ParseFragment(const nsAString& aSourceBuffer,
nsISupports* aTargetNode,
nsIContent* aTargetNode,
nsIAtom* aContextLocalName,
PRInt32 aContextNamespace,
PRBool aQuirks);