diff --git a/editor/libeditor/html/nsHTMLEditRules.cpp b/editor/libeditor/html/nsHTMLEditRules.cpp
index 7725fc792a0..77dff552c91 100644
--- a/editor/libeditor/html/nsHTMLEditRules.cpp
+++ b/editor/libeditor/html/nsHTMLEditRules.cpp
@@ -7625,7 +7625,7 @@ nsHTMLEditRules::RemoveEmptyNodes()
NS_ENSURE_SUCCESS(res, res);
nsCOMArray arrayOfEmptyNodes, arrayOfEmptyCites;
- nsTArray skipList;
+ nsTArray > skipList;
// check for empty nodes
while (!iter->IsDone()) {
diff --git a/editor/libeditor/html/nsHTMLEditor.cpp b/editor/libeditor/html/nsHTMLEditor.cpp
index cad15f57c31..c97f7509740 100644
--- a/editor/libeditor/html/nsHTMLEditor.cpp
+++ b/editor/libeditor/html/nsHTMLEditor.cpp
@@ -3769,7 +3769,7 @@ nsHTMLEditor::CollapseAdjacentTextNodes(nsIDOMRange *aInRange)
{
NS_ENSURE_TRUE(aInRange, NS_ERROR_NULL_POINTER);
nsAutoTxnsConserveSelection dontSpazMySelection(this);
- nsTArray textNodes;
+ nsTArray > textNodes;
// we can't actually do anything during iteration, so store the text nodes in an array
// don't bother ref counting them because we know we can hold them for the
// lifetime of this method
diff --git a/editor/libeditor/html/nsTableEditor.cpp b/editor/libeditor/html/nsTableEditor.cpp
index cff7392664e..77b1dc26238 100644
--- a/editor/libeditor/html/nsTableEditor.cpp
+++ b/editor/libeditor/html/nsTableEditor.cpp
@@ -1306,7 +1306,7 @@ nsHTMLEditor::DeleteRow(nsIDOMElement *aTable, PRInt32 aRowIndex)
// The list of cells we will change rowspan in
// and the new rowspan values for each
- nsTArray spanCellList;
+ nsTArray > spanCellList;
nsTArray newSpanList;
// Scan through cells in row to do rowspan adjustments
@@ -2144,7 +2144,7 @@ nsHTMLEditor::JoinTableCells(bool aMergeNonContiguousContents)
}
// The list of cells we will delete after joining
- nsTArray deleteList;
+ nsTArray > deleteList;
// 2nd pass: Do the joining and merging
for (rowIndex = 0; rowIndex < rowCount; rowIndex++)