Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1396)

Unified Diff: chrome/common/extensions/extension_icon_set.cc

Issue 8368018: Convert chrome/common non-debug logs to debug logs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/extension_file_util.cc ('k') | chrome/common/extensions/extension_l10n_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « chrome/common/extensions/extension_file_util.cc ('k') | chrome/common/extensions/extension_l10n_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698