diff options
Diffstat (limited to 'content/gpu/gpu_watchdog_thread.cc')
-rw-r--r-- | content/gpu/gpu_watchdog_thread.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/content/gpu/gpu_watchdog_thread.cc b/content/gpu/gpu_watchdog_thread.cc index a7d723c..0fda5b1 100644 --- a/content/gpu/gpu_watchdog_thread.cc +++ b/content/gpu/gpu_watchdog_thread.cc @@ -92,21 +92,21 @@ GpuWatchdogThread::GpuWatchdogTaskObserver::~GpuWatchdogTaskObserver() { void GpuWatchdogThread::GpuWatchdogTaskObserver::WillProcessTask( const Task* task) { - CheckArmed(); + watchdog_->CheckArmed(); } void GpuWatchdogThread::GpuWatchdogTaskObserver::DidProcessTask( const Task* task) { - CheckArmed(); + watchdog_->CheckArmed(); } -void GpuWatchdogThread::GpuWatchdogTaskObserver::CheckArmed() +void GpuWatchdogThread::CheckArmed() { // Acknowledge the watchdog if it has armed itself. The watchdog will not // change its armed state until it is acknowledged. - if (watchdog_->armed()) { - watchdog_->PostAcknowledge(); + if (armed()) { + PostAcknowledge(); } } |