Index: base/debug/profiler.cc |
diff --git a/base/debug/profiler.cc b/base/debug/profiler.cc |
index a4426ab3072af7bfa942141db40ce88e7a30b5d1..b19e7ecd00fcdf5431b4fc6ada16ab44852d6a3f 100644 |
--- a/base/debug/profiler.cc |
+++ b/base/debug/profiler.cc |
@@ -154,8 +154,8 @@ bool FindResolutionFunctionInImports( |
FunctionSearchContext* context = |
reinterpret_cast<FunctionSearchContext*>(cookie); |
- DCHECK_NE(nullptr, context); |
- DCHECK_EQ(nullptr, context->function); |
+ DCHECK(context); |
+ DCHECK(!context->function); |
// Our import address table contains pointers to the functions we import |
// at this point. Let's retrieve the first such function and use it to |