зеркало из https://github.com/mozilla/gecko-dev.git
call to GetNodesForOperation() in GetAlignment() missed a parameter indicating it should not modify the tree; b=107372, r=brade, sr=kin
This commit is contained in:
Родитель
9ddf7a0214
Коммит
2ef77eb271
|
@ -704,7 +704,7 @@ nsHTMLEditRules::GetAlignment(PRBool *aMixed, nsIHTMLEditor::EAlignment *aAlign)
|
|||
|
||||
// use these ranges to contruct a list of nodes to act on.
|
||||
nsCOMPtr<nsISupportsArray> arrayOfNodes;
|
||||
res = GetNodesForOperation(arrayOfRanges, address_of(arrayOfNodes), kAlign);
|
||||
res = GetNodesForOperation(arrayOfRanges, address_of(arrayOfNodes), kAlign, PR_TRUE);
|
||||
if (NS_FAILED(res)) return res;
|
||||
isupports = dont_AddRef(arrayOfNodes->ElementAt(0));
|
||||
nodeToExamine = do_QueryInterface(isupports );
|
||||
|
|
Загрузка…
Ссылка в новой задаче