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

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

Issue 6609008: Change other usages of .size() to .empty() when applicable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Peter nits 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
« no previous file with comments | « chrome_frame/chrome_frame_automation.cc ('k') | courgette/adjustment_method.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_view_host.cc
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
index 0e2d5de4cf834161868b6f3475b26936ca76feaa..af2fdbf0d9fbeff6fd504175b4392f0cc0b15fde 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -1599,7 +1599,7 @@ void RenderViewHost::OnAccessibilityNotifications(
if (view())
view()->OnAccessibilityNotifications(params);
- if (params.size() > 0) {
+ if (!params.empty()) {
for (unsigned i = 0; i < params.size(); i++) {
const ViewHostMsg_AccessibilityNotification_Params& param = params[i];
« no previous file with comments | « chrome_frame/chrome_frame_automation.cc ('k') | courgette/adjustment_method.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698