diff --git a/mozilla/layout/generic/nsPlaceholderFrame.h b/mozilla/layout/generic/nsPlaceholderFrame.h index 714b93b5007..44cfa87c016 100644 --- a/mozilla/layout/generic/nsPlaceholderFrame.h +++ b/mozilla/layout/generic/nsPlaceholderFrame.h @@ -91,6 +91,15 @@ public: virtual PRBool IsEmpty() { return PR_TRUE; } virtual PRBool IsSelfEmpty() { return PR_TRUE; } +#ifdef ACCESSIBILITY + NS_IMETHOD GetAccessible(nsIAccessible** aAccessible) + { + nsIFrame *realFrame = GetRealFrameForPlaceholder(this); + return realFrame ? realFrame->GetAccessible(aAccessible) : + nsSplittableFrame::GetAccessible(aAccessible); + } +#endif + /** * @return the out-of-flow for aFrame if aFrame is a placeholder; otherwise * aFrame