Index: chrome/browser/tab_contents/render_view_context_menu.cc |
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc |
index 19cb00efab1d46105abbc1867e0c9c23abfdf994..372c703d8abf6185b5fa03df2a6268d47d06fc53 100644 |
--- a/chrome/browser/tab_contents/render_view_context_menu.cc |
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc |
@@ -715,7 +715,7 @@ void RenderViewContextMenu::AppendEditableItems() { |
menu_model_.AddItem(IDC_SPELLCHECK_SUGGESTION_0 + static_cast<int>(i), |
params_.dictionary_suggestions[i]); |
} |
- if (params_.dictionary_suggestions.size() > 0) |
+ if (!params_.dictionary_suggestions.empty()) |
menu_model_.AddSeparator(); |
// If word is misspelled, give option for "Add to dictionary" |