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

Unified Diff: webkit/plugins/npapi/plugin_group.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: webkit/plugins/npapi/plugin_group.cc
diff --git a/webkit/plugins/npapi/plugin_group.cc b/webkit/plugins/npapi/plugin_group.cc
index 4b61baaea013fe4176f458e494fc9e1c42f30092..52f7c41d1449a224fdb87b93b3bf1d82668d572d 100644
--- a/webkit/plugins/npapi/plugin_group.cc
+++ b/webkit/plugins/npapi/plugin_group.cc
@@ -488,7 +488,7 @@ bool PluginGroup::RequiresAuthorization() const {
}
bool PluginGroup::IsEmpty() const {
- return web_plugin_infos_.size() == 0;
+ return web_plugin_infos_.empty();
}
void PluginGroup::DisableOutdatedPlugins() {

Powered by Google App Engine
This is Rietveld 408576698