Index: chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc |
diff --git a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc |
index 52f84409e058b3ce1e56d594c63afb2866be141e..dfcfad93f3e114447fcb4f522060a785ca0f6609 100644 |
--- a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc |
+++ b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc |
@@ -631,7 +631,7 @@ WebGraphicsContext3DCommandBufferImpl::getContextAttributes() { |
} |
WGC3Denum WebGraphicsContext3DCommandBufferImpl::getError() { |
- if (synthetic_errors_.size() > 0) { |
+ if (!synthetic_errors_.empty()) { |
std::vector<WGC3Denum>::iterator iter = synthetic_errors_.begin(); |
WGC3Denum err = *iter; |
synthetic_errors_.erase(iter); |