Index: chrome/common/extensions/extension_permission_set.cc |
diff --git a/chrome/common/extensions/extension_permission_set.cc b/chrome/common/extensions/extension_permission_set.cc |
index f19fdde889de867b196a344b5b3c1ebdc9f26507..142d5760b2ebb458673123f28be6ef9573860544 100644 |
--- a/chrome/common/extensions/extension_permission_set.cc |
+++ b/chrome/common/extensions/extension_permission_set.cc |
@@ -90,7 +90,7 @@ void AddPatternsAndRemovePaths(const URLPatternSet& set, URLPatternSet* out) { |
} |
} |
-} // namespace |
+} // namespace |
// |
// PermissionMessage |
@@ -100,7 +100,7 @@ void AddPatternsAndRemovePaths(const URLPatternSet& set, URLPatternSet* out) { |
ExtensionPermissionMessage ExtensionPermissionMessage::CreateFromHostList( |
const std::set<std::string>& hosts) { |
std::vector<std::string> host_list(hosts.begin(), hosts.end()); |
- CHECK(host_list.size() > 0); |
+ CHECK_GT(host_list.size(), 0UL); |
ID message_id; |
string16 message; |