mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 04:27:41 +00:00
Fixing bustage
This commit is contained in:
parent
d4cccf83f1
commit
e42e41dd7a
@ -63,7 +63,6 @@
|
||||
#include "nsIWidget.h"
|
||||
#include "nsStyleStruct.h"
|
||||
#include "nsTextFragment.h"
|
||||
#include "nsArray.h"
|
||||
|
||||
static NS_DEFINE_IID(kRangeCID, NS_RANGE_CID);
|
||||
|
||||
@ -137,7 +136,7 @@ nsresult nsAccessibleText::DOMPointToOffset(nsISupports *aClosure, nsIDOMNode* a
|
||||
|
||||
*aResult = aNodeOffset;
|
||||
|
||||
nsCOMPtr<nsIArray> domNodeArray(do_QueryInterface(aClosure));
|
||||
nsCOMPtr<nsISupportsArray> domNodeArray(do_QueryInterface(aClosure));
|
||||
if (domNodeArray) {
|
||||
// Static text, calculate the offset from a given set of (text) node
|
||||
PRUint32 textLength, totalLength = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user