Bug 615841 ourA11yNotification is only used in nsFrameManager::ReResolveStyleContext ifdef ACCESSIBILITY

r+a=bz

--HG--
extra : rebase_source : 9fe91fdff530e26416f2c212977fd2de4292fa2e
This commit is contained in:
timeless@mozdev.org 2010-12-04 11:07:53 +01:00
parent 079d109ca2
commit ecfb24b349

View File

@ -1413,10 +1413,10 @@ nsFrameManager::ReResolveStyleContext(nsPresContext *aPresContext,
}
if (!(aMinChange & nsChangeHint_ReconstructFrame)) {
A11yNotificationType ourA11yNotification = eDontNotify;
DesiredA11yNotifications kidsDesiredA11yNotification =
aDesiredA11yNotifications;
#ifdef ACCESSIBILITY
A11yNotificationType ourA11yNotification = eDontNotify;
// Notify a11y for primary frame only if it's a root frame of visibility
// changes or its parent frame was hidden while it stays visible and
// it is not inside a {ib} split or is the first frame of {ib} split.