Index: content/gpu/gpu_child_thread.cc |
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc |
index b8ce0a91e385b016d2c05abc6c5e7ff1e047f369..165d9dfce671093bc9f542f1e0985bb1e32d562a 100644 |
--- a/content/gpu/gpu_child_thread.cc |
+++ b/content/gpu/gpu_child_thread.cc |
@@ -159,7 +159,7 @@ void GpuChildThread::OnInitialize() { |
} |
void GpuChildThread::StopWatchdog() { |
- if (watchdog_thread_.get()) { |
+ if (watchdog_thread_) { |
watchdog_thread_->Stop(); |
} |
} |
@@ -197,7 +197,7 @@ void GpuChildThread::OnCollectGraphicsInfo() { |
void GpuChildThread::OnGetVideoMemoryUsageStats() { |
GPUVideoMemoryUsageStats video_memory_usage_stats; |
- if (gpu_channel_manager_.get()) |
+ if (gpu_channel_manager_) |
gpu_channel_manager_->gpu_memory_manager()->GetVideoMemoryUsageStats( |
&video_memory_usage_stats); |
Send(new GpuHostMsg_VideoMemoryUsageStats(video_memory_usage_stats)); |
@@ -205,7 +205,7 @@ void GpuChildThread::OnGetVideoMemoryUsageStats() { |
void GpuChildThread::OnClean() { |
VLOG(1) << "GPU: Removing all contexts"; |
- if (gpu_channel_manager_.get()) |
+ if (gpu_channel_manager_) |
gpu_channel_manager_->LoseAllContexts(); |
} |
@@ -226,7 +226,7 @@ void GpuChildThread::OnHang() { |
void GpuChildThread::OnDisableWatchdog() { |
VLOG(1) << "GPU: Disabling watchdog thread"; |
- if (watchdog_thread_.get()) { |
+ if (watchdog_thread_) { |
// Disarm the watchdog before shutting down the message loop. This prevents |
// the future posting of tasks to the message loop. |
if (watchdog_thread_->message_loop()) |