commit | eef6caef5b84e632e27867618d3e3e77d0aee29d | [log] [tgz] |
---|---|---|
author | Greg Thompson <grt@chromium.org> | Mon Jan 21 18:03:17 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jan 21 18:03:17 2019 |
tree | d5a283113cec4e9ca9c36ae3e7dab2ece78b4184 | |
parent | 9db0419223cc52d9f2bb05c4c0ae1a9995a8f437 [diff] |
Deflake WMITest tests. These tests were reaching through a ComPtr to call Release on underlying interface pointers. This is a no-no, as the ComPtr still thinks it's holding a ref on the interface and will Release again in its dtor. This is a crashtrocity. This here CL changes such calls to the Reset method on the ComPtr itself, which does what the test actually intended: releases the ref held on the interface pointer and forgets about it. BUG=923562 R=gab@chromium.org Change-Id: Ie7276f868e88eb63e19605d877fc5c9373564fbf Reviewed-on: https://chromium-review.googlesource.com/c/1424942 Auto-Submit: Greg Thompson <grt@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org> Reviewed-by: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#624616}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .