summaryrefslogtreecommitdiffstats
path: root/net/base/mock_host_resolver.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 23:19:33 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 23:19:33 +0000
commitb1f031ddf0723e5a4811bf9fa6fdda68c97633de (patch)
tree81be42f2b7c8cbf8e2bb5aaea1f1b1a6213413ca /net/base/mock_host_resolver.cc
parent136ba26595ceafeb57a5c4d524caf7f87b95daf3 (diff)
downloadchromium_src-b1f031ddf0723e5a4811bf9fa6fdda68c97633de.zip
chromium_src-b1f031ddf0723e5a4811bf9fa6fdda68c97633de.tar.gz
chromium_src-b1f031ddf0723e5a4811bf9fa6fdda68c97633de.tar.bz2
Use CHECK_* in net
Review URL: http://codereview.chromium.org/660404 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40453 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/mock_host_resolver.cc')
-rw-r--r--net/base/mock_host_resolver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/mock_host_resolver.cc b/net/base/mock_host_resolver.cc
index 9a2c916..239275e 100644
--- a/net/base/mock_host_resolver.cc
+++ b/net/base/mock_host_resolver.cc
@@ -224,7 +224,7 @@ ScopedDefaultHostResolverProc::ScopedDefaultHostResolverProc(
ScopedDefaultHostResolverProc::~ScopedDefaultHostResolverProc() {
HostResolverProc* old_proc = HostResolverProc::SetDefault(previous_proc_);
// The lifetimes of multiple instances must be nested.
- CHECK(old_proc == current_proc_);
+ CHECK_EQ(old_proc, current_proc_);
}
void ScopedDefaultHostResolverProc::Init(HostResolverProc* proc) {