Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: gpu/ipc/service/gpu_watchdog_thread.cc

Issue 2378583003: Ping watchdog thread during GpuChannel destruction (Closed)
Patch Set: Fix lifetime and use nullptr Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/ipc/service/gpu_watchdog_thread.cc
diff --git a/gpu/ipc/service/gpu_watchdog_thread.cc b/gpu/ipc/service/gpu_watchdog_thread.cc
index 5d7e3bb18fc465a6a2f377c1387360f32b591690..967272fc3f2afbb1cc7807d23cd189338307e4e3 100644
--- a/gpu/ipc/service/gpu_watchdog_thread.cc
+++ b/gpu/ipc/service/gpu_watchdog_thread.cc
@@ -110,6 +110,10 @@ void GpuWatchdogThread::CheckArmed() {
PostAcknowledge();
}
+void GpuWatchdogThread::ReportProgress() {
+ CheckArmed();
+}
+
void GpuWatchdogThread::Init() {
// Schedule the first check.
OnCheck(false);
« gpu/command_buffer/service/context_group.cc ('K') | « gpu/ipc/service/gpu_watchdog_thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698