Call PinUser32 before blocking is prohibited
The first call to PinUser32 needs to acquire the loader lock and is therefore tagged as being a blocking call. This caused test failures in headless_browsertests.exe because it happened to occur when blocking calls were disallowed. Explicitly calling PinUser32 before blocking calls are prohibited is already done in other test setups so this change adds that to headless_test_launcher.cc and, through code inspection, three other locations (to prevent future issues). Bug: 1147063 Change-Id: I495602ab8f10eca0f756002afbee6d1b0417054c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2548350Reviewed-by:Mike Pinkerton <pinkerton@chromium.org> Reviewed-by:
Cliff Smolinsky <cliffsmo@microsoft.com> Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Cr-Commit-Position: refs/heads/master@{#832412}
Showing
Please register or sign in to comment