Skip ScopedMakeCurrent if context IsCurrent().
ui::ScopedMakeCurrent can crash during stub destruction, so we skip it if the (shared) context is already current. Bug: 839605 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: Ifaa73ecc84bb335b1e154f38139a41b6ee37cdb9 Reviewed-on: https://chromium-review.googlesource.com/1055879Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Frank Liberato <liberato@chromium.org> Cr-Commit-Position: refs/heads/master@{#558033}
Showing
Please register or sign in to comment