Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1876)

Unified Diff: content/browser/renderer_host/render_sandbox_host_linux.cc

Issue 6602049: Pure pedantry: Replace all ".size() == 0" with ".empty()". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_sandbox_host_linux.cc
diff --git a/content/browser/renderer_host/render_sandbox_host_linux.cc b/content/browser/renderer_host/render_sandbox_host_linux.cc
index 8d057902b8351dee09e9ed895d12750c2a2cef6b..1b36fbadbe1c010f3f8c285b58bcfe21ddc3520c 100644
--- a/content/browser/renderer_host/render_sandbox_host_linux.cc
+++ b/content/browser/renderer_host/render_sandbox_host_linux.cc
@@ -120,7 +120,7 @@ class SandboxIPCProcess {
<< "Sandbox host message is larger than kMaxFontFamilyLength";
return;
}
- if (fds.size() == 0)
+ if (fds.empty())
return;
Pickle pickle(buf, len);

Powered by Google App Engine
This is Rietveld 408576698