Index: chrome_frame/policy_settings.cc |
diff --git a/chrome_frame/policy_settings.cc b/chrome_frame/policy_settings.cc |
index a6741a3b5123f3a2b6fed68f342d8bd45bfd350d..97c08107bf57eb4f56949d9fe5b9f3b49c2efdc9 100644 |
--- a/chrome_frame/policy_settings.cc |
+++ b/chrome_frame/policy_settings.cc |
@@ -110,7 +110,7 @@ void PolicySettings::ReadContentTypeSetting( |
sub_key += ASCIIToWide(policy::key::kChromeFrameContentTypes); |
content_type_list->clear(); |
- for (int i = 0; i < arraysize(kRootKeys) && content_type_list->size() == 0; |
+ for (int i = 0; i < arraysize(kRootKeys) && content_type_list->empty(); |
++i) { |
EnumerateKeyValues(kRootKeys[i], sub_key.c_str(), content_type_list); |
} |