More DCHECK() updates. A mixture of _EQ and _GE.
Bug=58409
Review URL: http://codereview.chromium.org/6469070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76343 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/event_recorder.cc b/base/event_recorder.cc
index 7c3336b..1119b4f 100644
--- a/base/event_recorder.cc
+++ b/base/event_recorder.cc
@@ -49,7 +49,7 @@
return false;
// Open the recording file.
- DCHECK(file_ == NULL);
+ DCHECK(!file_);
file_ = file_util::OpenFile(filename, "wb+");
if (!file_) {
DLOG(ERROR) << "EventRecorder could not open log file";
@@ -100,7 +100,7 @@
return false;
// Open the recording file.
- DCHECK(file_ == NULL);
+ DCHECK(!file_);
file_ = file_util::OpenFile(filename, "rb");
if (!file_) {
DLOG(ERROR) << "EventRecorder Playback could not open log file";