Revert "Fix a GPU watchdog V2 DCHECK in GPU initialization"
This reverts commit 2f859102. Reason for revert: <This CL causes access violation crashes in gpu::GpuInit::InitializeAndStartSandbox> Original change's description: > Fix a GPU watchdog V2 DCHECK in GPU initialization > > A DCHECK is triggered in GpuWatchdogThreadImplV2::Arm() during GPU > initialization. Whenever there is an error, GpuInit::InitializeAndStartSandbox() > exits earlier. watchdog_thread_->OnInitComplete() is not called in those cases > and arm_disarm_counter_ gets messed up. > A new class GpuWatchdogInit is created to call OnInitcomplete() in the destructor. > OnInitComplete() will never be missed at the end of InitializeAndStartSandbox(). > > Bug:949839, 995372 > > Change-Id: I1a107df0ca48409ff2252260ea41de643fa39b6c > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1762879 > Reviewed-by: Zhenyao Mo <zmo@chromium.org> > Commit-Queue: Maggie Chen <magchen@chromium.org> > Cr-Commit-Position: refs/heads/master@{#689343} TBR=zmo@chromium.org,magchen@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 949839, 997119 Change-Id: I80de6494321557a4aaaa0eaa8f335b8b558e9664 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769221Reviewed-by:Maggie Chen <magchen@chromium.org> Commit-Queue: Maggie Chen <magchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#690068}
Showing
Please register or sign in to comment