| Index: webkit/gpu/webgraphicscontext3d_in_process_impl.cc
|
| diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
|
| index 6f9d803364df2dbe01a7265ed56a27ee261e3498..835611b46fb90c6f228fce97f8318262c8dce69e 100644
|
| --- a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
|
| +++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
|
| @@ -1012,7 +1012,7 @@ WebGraphicsContext3D::Attributes WebGraphicsContext3DInProcessImpl::
|
|
|
| WGC3Denum WebGraphicsContext3DInProcessImpl::getError() {
|
| DCHECK(synthetic_errors_list_.size() == synthetic_errors_set_.size());
|
| - if (synthetic_errors_set_.size() > 0) {
|
| + if (!synthetic_errors_set_.empty()) {
|
| WGC3Denum error = synthetic_errors_list_.front();
|
| synthetic_errors_list_.pop_front();
|
| synthetic_errors_set_.erase(error);
|
|
|