Skip to content
Commit 14564315 authored by jackhou's avatar jackhou Committed by Commit bot
Browse files

[Views] Fix WidgetTest.GetRestoredBounds

Test was failing on Mac because ViewsTestHelperMac::TearDown()
now DCHECKs that all Widgets are closed (added in r334985). Fix
this by closing the Widget at end of test.

Also re-enable this test on Win. It's unfortunately still broken on
Linux (see bug).

Also re-write the test a bit to make it clearer.

BUG=378134, 515369

Review URL: https://codereview.chromium.org/1268643002

Cr-Commit-Position: refs/heads/master@{#341643}
parent 2121ad98
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