Fix DCHECK in browser_tests with VirtualDesktopHelper.
Pass this (base::RefCountedDeleteOnSequence) instead of a weakptr to PostTaskAndReplyWithResult. This should fix a lot of test flakiness due to a dcheck doing a PostTaskAndReplyRelay. Bug: 1093448 Change-Id: I7cb4621009c350a60c3769c6fb691a144c6fd5e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2346994Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: David Bienvenu <davidbienvenu@chromium.org> Cr-Commit-Position: refs/heads/master@{#796637}
Showing
Please register or sign in to comment