Commit 12505b8e authored by Tao Bai's avatar Tao Bai Committed by Commit Bot

Uses node address for removed node id

This case will be covered in Java integration test.

Bug: 954387
Change-Id: I1b34a031d47e97fbcabd24f4363ce6ca9fe97579
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1574946Reviewed-by: default avatarXianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Tao Bai <michaelbai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#652472}
parent a8315825
...@@ -106,7 +106,7 @@ void TaskSession::GroupCapturedContentByDocument( ...@@ -106,7 +106,7 @@ void TaskSession::GroupCapturedContentByDocument(
void TaskSession::OnNodeDetached(const cc::NodeHolder& node_holder) { void TaskSession::OnNodeDetached(const cc::NodeHolder& node_holder) {
if (const Node* node = GetNodeIf(true /* sent */, node_holder)) { if (const Node* node = GetNodeIf(true /* sent */, node_holder)) {
EnsureDocumentSession(node->GetDocument()) EnsureDocumentSession(node->GetDocument())
.AddDetachedNode(reinterpret_cast<int64_t>(&node)); .AddDetachedNode(reinterpret_cast<int64_t>(node));
has_unsent_data_ = true; has_unsent_data_ = true;
} }
} }
......
Markdown is supported
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