summaryrefslogtreecommitdiffstats
path: root/base/iat_patch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/iat_patch.cc')
-rw-r--r--base/iat_patch.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/iat_patch.cc b/base/iat_patch.cc
index e705713..fa5109f 100644
--- a/base/iat_patch.cc
+++ b/base/iat_patch.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -178,7 +178,7 @@ IATPatchFunction::IATPatchFunction()
IATPatchFunction::~IATPatchFunction() {
if (NULL != intercept_function_) {
DWORD error = Unpatch();
- DCHECK_EQ(NO_ERROR, error);
+ DCHECK(error == NO_ERROR);
}
}