Index: chrome/common/extensions/extension_icon_set.cc |
=================================================================== |
--- chrome/common/extensions/extension_icon_set.cc (revision 106774) |
+++ chrome/common/extensions/extension_icon_set.cc (working copy) |
@@ -15,7 +15,7 @@ |
} |
void ExtensionIconSet::Add(int size, const std::string& path) { |
- CHECK(!path.empty() && path[0] != '/'); |
+ DCHECK(!path.empty() && path[0] != '/'); |
map_[size] = path; |
} |
@@ -36,7 +36,7 @@ |
} |
return result == map_.rend() ? std::string() : result->second; |
} else { |
- CHECK(match_type == MATCH_BIGGER); |
+ DCHECK(match_type == MATCH_BIGGER); |
IconMap::const_iterator result = map_.end(); |
for (IconMap::const_iterator iter = map_.begin(); iter != map_.end(); |
++iter) { |
@@ -53,7 +53,7 @@ |
if (path.empty()) |
return false; |
- CHECK(path[0] != '/') << |
+ DCHECK(path[0] != '/') << |
"ExtensionIconSet stores icon paths without leading slash."; |
for (IconMap::const_iterator iter = map_.begin(); iter != map_.end(); |