Commit 8bc1b298 authored by James Teh's avatar James Teh
Browse files

Bug 1639108: Use the end offset for e10s IAccessibleText::newText instead of...

Bug 1639108: Use the end offset for e10s IAccessibleText::newText instead of the length. r=eeejay, a=pascalc

Previously, we were incorrectly using the length.

Differential Revision: https://phabricator.services.mozilla.com/D75897
parent 3d663dec
......@@ -1760,7 +1760,7 @@ bool AccessibleWrap::DispatchTextChangeToHandler(bool aIsInsert,
VARIANT_BOOL isInsert = aIsInsert ? VARIANT_TRUE : VARIANT_FALSE;
IA2TextSegment textSegment{::SysAllocStringLen(aText.get(), aText.Length()),
aStart, static_cast<long>(aLen)};
aStart, aStart + static_cast<long>(aLen)};
ASYNC_INVOKER_FOR(IHandlerControl)
invoker(controller.mCtrl, Some(controller.mIsProxy));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment