From 7fe0af5a33f22bae4e20182ab9b9e9c24008c545 Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Mon, 7 Jan 2008 10:14:28 +0000 Subject: [PATCH] Don't pointlessly clone nsCOMArray b=265745 r=brade sr=rbs a=schrep git-svn-id: svn://10.0.0.236/trunk@242557 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp | 2 +- mozilla/editor/libeditor/html/nsHTMLEditor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp b/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp index ca1e4023335..dfd9a224bc0 100644 --- a/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp @@ -928,7 +928,7 @@ nsHTMLEditor::RelativizeURIForNode(nsIDOMNode *aNode, nsIURL *aDestURL) } nsresult -nsHTMLEditor::RelativizeURIInFragmentList(nsCOMArray aNodeList, +nsHTMLEditor::RelativizeURIInFragmentList(const nsCOMArray &aNodeList, const nsAString &aFlavor, nsIDOMDocument *aSourceDoc, nsIDOMNode *aTargetNode) diff --git a/mozilla/editor/libeditor/html/nsHTMLEditor.h b/mozilla/editor/libeditor/html/nsHTMLEditor.h index 95c53f66c77..1ab4d1a62f3 100644 --- a/mozilla/editor/libeditor/html/nsHTMLEditor.h +++ b/mozilla/editor/libeditor/html/nsHTMLEditor.h @@ -624,7 +624,7 @@ protected: nsIDOMNode **aTargetNode, PRInt32 *aTargetOffset, PRBool *aDoContinue); - nsresult RelativizeURIInFragmentList(nsCOMArray aNodeList, + nsresult RelativizeURIInFragmentList(const nsCOMArray &aNodeList, const nsAString &aFlavor, nsIDOMDocument *aSourceDoc, nsIDOMNode *aTargetNode);