Index: base/iat_patch.cc |
=================================================================== |
--- base/iat_patch.cc (revision 48256) |
+++ base/iat_patch.cc (working copy) |
@@ -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() { |
if (NULL != intercept_function_) { |
DWORD error = Unpatch(); |
- DCHECK_EQ(NO_ERROR, error); |
+ DCHECK(error == NO_ERROR); |
} |
} |