From 6775e40aeb887f15dc9182b250cdc4100aa79ce0 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Fri, 4 Mar 2011 21:03:47 +0000 Subject: Change other usages of .size() to .empty() when applicable. BUG=carnitas TEST=compiles Review URL: http://codereview.chromium.org/6609008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76962 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/plugins/npapi/plugin_lib_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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 f80e8f2..c703b2c 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()); -- cgit v1.1