Index: chrome/common/extensions/update_manifest.cc |
diff --git a/chrome/common/extensions/update_manifest.cc b/chrome/common/extensions/update_manifest.cc |
index 4e1cdd54bcf9a8f405270114ef61fe201cf79f10..8970aa5d3ae8f79b2ee5794522560505f16077b9 100644 |
--- a/chrome/common/extensions/update_manifest.cc |
+++ b/chrome/common/extensions/update_manifest.cc |
@@ -242,7 +242,7 @@ bool UpdateManifest::Parse(const std::string& manifest_xml) { |
// Parse the first <daystart> if it's present. |
std::vector<xmlNode*> daystarts = GetChildren(root, gupdate_ns, "daystart"); |
- if (daystarts.size() > 0) { |
+ if (!daystarts.empty()) { |
xmlNode* first = daystarts[0]; |
std::string elapsed_seconds = GetAttribute(first, "elapsed_seconds"); |
int parsed_elapsed = kNoDaystart; |