зеркало из https://github.com/mozilla/pjs.git
Bug 381888 follow up, to simplify GetCaretAccessible(). sr+=bz on IRC.
This commit is contained in:
Родитель
7c02bcfa14
Коммит
158c807520
|
@ -358,12 +358,10 @@ nsresult nsRootAccessible::RemoveEventListeners()
|
|||
return nsDocAccessible::RemoveEventListeners();
|
||||
}
|
||||
|
||||
already_AddRefed<nsCaretAccessible>
|
||||
nsCaretAccessible*
|
||||
nsRootAccessible::GetCaretAccessible()
|
||||
{
|
||||
nsCaretAccessible *rawCaretAccessible = mCaretAccessible;
|
||||
NS_IF_ADDREF(rawCaretAccessible);
|
||||
return rawCaretAccessible;
|
||||
return mCaretAccessible;
|
||||
}
|
||||
|
||||
void nsRootAccessible::TryFireEarlyLoadEvent(nsIDOMNode *aDocNode)
|
||||
|
|
|
@ -103,7 +103,7 @@ class nsRootAccessible : public nsDocAccessibleWrap,
|
|||
nsIDOMEvent *aFocusEvent,
|
||||
PRBool aForceEvent = PR_FALSE);
|
||||
|
||||
already_AddRefed<nsCaretAccessible> GetCaretAccessible();
|
||||
nsCaretAccessible *GetCaretAccessible();
|
||||
|
||||
private:
|
||||
nsCOMPtr<nsITimer> mFireFocusTimer;
|
||||
|
|
Загрузка…
Ссылка в новой задаче