Bug 1776896 - Clear mLastInteractiveValue when releasing TextControlState objects.
Differential Revision: https://phabricator.services.mozilla.com/D150487
This commit is contained in:
@@ -1493,6 +1493,7 @@ void TextControlState::DeleteOrCacheForReuse() {
|
||||
// Prepare for reuse, unlink and release any refcountable objects.
|
||||
UnlinkInternal();
|
||||
mValue.SetIsVoid(true);
|
||||
mLastInteractiveValue.SetIsVoid(true);
|
||||
mTextCtrlElement = nullptr;
|
||||
|
||||
// Put this instance to the cache. Note that now, the array may be full,
|
||||
|
||||
Reference in New Issue
Block a user