ContentCapture Refactorying: Move the node set to DocumentSession
Moved sent_nodes and changed_nodes to DocumentSession, it makes the code more clear, and improves the performance a little bit, because the node is regroup to a number of small one according to the document. This patch also ignores the content change of the unsent node, adds test for this case. Bug: 1137463 Change-Id: Id8146bdbd374d09ba27e22851e13ede4f1511b2d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2469220Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Michael Bai <michaelbai@chromium.org> Cr-Commit-Position: refs/heads/master@{#818086}
Showing
Please register or sign in to comment