Skip to content
Commit 20180c07 authored by Tom Sepez's avatar Tom Sepez Committed by Chromium LUCI CQ
Browse files

Avoid dangling ptr in TitledUrlIndexTest.GetResultsSortedByTypedCount

Unbind the index() from the node sorter, thereby destroying it, before
the local clietn that is using goes out of scope.

Bug: 1401495
Change-Id: Ifd4683b9539c52231a9ac7b052e90c473cbd8e6f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4549774


Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1147340}
parent c714d171
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment