From 6775e40aeb887f15dc9182b250cdc4100aa79ce0 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Fri, 4 Mar 2011 21:03:47 +0000 Subject: Change other usages of .size() to .empty() when applicable. BUG=carnitas TEST=compiles Review URL: http://codereview.chromium.org/6609008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76962 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/gpu/webgraphicscontext3d_in_process_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webkit/gpu') diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc index 6f9d803..835611b 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); -- cgit v1.1