summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordavid.mike.futcher@gmail.com <david.mike.futcher@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-18 20:07:08 +0000
committerdavid.mike.futcher@gmail.com <david.mike.futcher@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-18 20:07:08 +0000
commit60ea605e068242f3dd5500e081b940a1de7370f2 (patch)
treea7d3bbb61f7d794d1646ed5a7ebfd7c0ac13acf8 /net
parentc13014b1b5e1a8a5a6faef68ee9ad3ec123424a8 (diff)
downloadchromium_src-60ea605e068242f3dd5500e081b940a1de7370f2.zip
chromium_src-60ea605e068242f3dd5500e081b940a1de7370f2.tar.gz
chromium_src-60ea605e068242f3dd5500e081b940a1de7370f2.tar.bz2
Replacing outdated DCHECK(a == b) with DCHECK_EQ(a, b).
This is my first attempt at contributing, so please tell me where I'm going wrong. BUG=58409 TEST= Review URL: http://codereview.chromium.org/6851016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81988 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/mime_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/mime_util.cc b/net/base/mime_util.cc
index 988922e..51bf964 100644
--- a/net/base/mime_util.cc
+++ b/net/base/mime_util.cc
@@ -385,8 +385,8 @@ bool MimeUtil::IsSupportedMimeType(const std::string& mime_type) const {
bool MimeUtil::MatchesMimeType(const std::string &mime_type_pattern,
const std::string &mime_type) const {
// verify caller is passing lowercase
- DCHECK(mime_type_pattern == StringToLowerASCII(mime_type_pattern));
- DCHECK(mime_type == StringToLowerASCII(mime_type));
+ DCHECK_EQ(StringToLowerASCII(mime_type_pattern), mime_type_pattern);
+ DCHECK_EQ(StringToLowerASCII(mime_type), mime_type);
// This comparison handles absolute maching and also basic
// wildcards. The plugin mime types could be: