зеркало из https://github.com/mozilla/pjs.git
Change it to do a QueryInterface, is this right?
This commit is contained in:
Родитель
7bd23e1cc8
Коммит
372194e11f
|
@ -612,7 +612,7 @@ nsresult nsContentSubtreeIterator::Init(nsIDOMRange* aRange)
|
|||
if (!aRange)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
mRange = aRange;
|
||||
mRange = dont_QueryInterface(aRange);
|
||||
|
||||
// get the start node and offset, convert to nsIContent
|
||||
nsCOMPtr<nsIDOMNode> commonParent;
|
||||
|
|
|
@ -612,7 +612,7 @@ nsresult nsContentSubtreeIterator::Init(nsIDOMRange* aRange)
|
|||
if (!aRange)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
mRange = aRange;
|
||||
mRange = dont_QueryInterface(aRange);
|
||||
|
||||
// get the start node and offset, convert to nsIContent
|
||||
nsCOMPtr<nsIDOMNode> commonParent;
|
||||
|
|
Загрузка…
Ссылка в новой задаче