mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1192330 - update text change data for proxied text change events r=surkov
This commit is contained in:
parent
2b5f6116ed
commit
d257415265
@ -72,7 +72,12 @@ a11y::ProxyCaretMoveEvent(ProxyAccessible* aTarget, int32_t aOffset)
|
||||
}
|
||||
|
||||
void
|
||||
a11y::ProxyTextChangeEvent(ProxyAccessible*, const nsString&, int32_t, uint32_t,
|
||||
bool, bool)
|
||||
a11y::ProxyTextChangeEvent(ProxyAccessible* aText, const nsString& aStr,
|
||||
int32_t aStart, uint32_t aLen, bool aInsert, bool)
|
||||
{
|
||||
AccessibleWrap* wrapper = WrapperFor(aText);
|
||||
auto text = static_cast<HyperTextAccessibleWrap*>(wrapper->AsHyperText());
|
||||
if (text) {
|
||||
ia2AccessibleText::UpdateTextChangeData(text, aInsert, aStr, aStart, aLen);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user