Reset |new_text_inserted_| after each |RequestLock| call.
We should reset the flag |new_text_inserted_| after each |RequestLock| call because the flag is used to indicate whether current session has new text inserted/replaced. We should clear the flag at the end of current session to prepare the state for next edit session. Bug: 1013472 Change-Id: I6efd9600d84550857ba4f55a42966753d2a7bdab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1972752Reviewed-by:Yohei Yukawa <yukawa@chromium.org> Reviewed-by:
Siye Liu <siliu@microsoft.com> Commit-Queue: Siye Liu <siliu@microsoft.com> Cr-Commit-Position: refs/heads/master@{#727469}
Showing
Please register or sign in to comment