Index: base/win/scoped_bstr.cc |
diff --git a/base/win/scoped_bstr.cc b/base/win/scoped_bstr.cc |
index 18ffe6abe0d591d6eba97334db458751868e2346..63ade0cb4215ae6deeffb6ca6937159ba180d76c 100644 |
--- a/base/win/scoped_bstr.cc |
+++ b/base/win/scoped_bstr.cc |
@@ -39,7 +39,7 @@ void ScopedBstr::Swap(ScopedBstr& bstr2) { |
} |
BSTR* ScopedBstr::Receive() { |
- DCHECK(bstr_ == NULL) << "BSTR leak."; |
+ DCHECK(!bstr_) << "BSTR leak."; |
return &bstr_; |
} |