Index: webkit/plugins/npapi/plugin_lib_mac.mm |
diff --git a/webkit/plugins/npapi/plugin_lib_mac.mm b/webkit/plugins/npapi/plugin_lib_mac.mm |
index f80e8f20aa76e1479891fe5281a471fcaad4e827..c703b2cbe3805022dd95f0eedcd501a21a81b7aa 100644 |
--- a/webkit/plugins/npapi/plugin_lib_mac.mm |
+++ b/webkit/plugins/npapi/plugin_lib_mac.mm |
@@ -219,7 +219,7 @@ bool ReadSTRPluginInfo(const FilePath& filename, CFBundleRef bundle, |
info->path = filename; |
if (plugin_vers) |
info->version = base::SysNSStringToUTF16(plugin_vers); |
- if (have_plugin_descs && plugin_descs.size() > 0) |
+ if (have_plugin_descs && !plugin_descs.empty()) |
info->desc = UTF8ToUTF16(plugin_descs[0]); |
else |
info->desc = UTF8ToUTF16(filename.BaseName().value()); |