Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(754)

Unified Diff: src/ostreams.cc

Issue 888613002: Initial switch to Chromium-style CHECK_* and DCHECK_* macros. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix slow dchecks. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/ostreams.cc
diff --git a/src/ostreams.cc b/src/ostreams.cc
index 4f28141d71aa4667bafd7f4742d97d26b5587636..0fcdf628129502f03730b8bfdde2b0125edf4027 100644
--- a/src/ostreams.cc
+++ b/src/ostreams.cc
@@ -35,7 +35,7 @@ std::streamsize OFStreamBase::xsputn(const char* s, std::streamsize n) {
OFStream::OFStream(FILE* f) : std::ostream(nullptr), buf_(f) {
- DCHECK_NOT_NULL(f);
+ DCHECK(f);
rdbuf(&buf_);
}
« src/jsregexp.cc ('K') | « src/optimizing-compiler-thread.cc ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698