Index: chrome/renderer/render_thread.cc |
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc |
index 49da6e25d7d55b62f62ff9a2cef82dccc588b642..6d34fca1847802ba91b924801a2fea9707599096 100644 |
--- a/chrome/renderer/render_thread.cc |
+++ b/chrome/renderer/render_thread.cc |
@@ -1090,7 +1090,7 @@ void RenderThread::OnGpuChannelEstablished( |
const GPUInfo& gpu_info) { |
gpu_channel_->set_gpu_info(gpu_info); |
- if (channel_handle.name.size() != 0) { |
+ if (!channel_handle.name.empty()) { |
// Connect to the GPU process if a channel name was received. |
gpu_channel_->Connect(channel_handle, renderer_process_for_gpu); |
} else { |