Fix a couple of pointer DCHECKs.
These don't work when DCHECK is switched to a more CHECK-like impl,
since there is no operator<<() for the relevant pointer type.
BUG=596231
Review-Url: https://codereview.chromium.org/2013723004
Cr-Commit-Position: refs/heads/master@{#396038}
CrOS-Libchrome-Original-Commit: bd4ffd8f5f7269b818d544cc55ff059be8095d49
diff --git a/base/debug/profiler.cc b/base/debug/profiler.cc
index a4426ab..b19e7ec 100644
--- a/base/debug/profiler.cc
+++ b/base/debug/profiler.cc
@@ -154,8 +154,8 @@
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