diff options
Diffstat (limited to 'base/win/scoped_bstr.cc')
-rw-r--r-- | base/win/scoped_bstr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/win/scoped_bstr.cc b/base/win/scoped_bstr.cc index 18ffe6a..63ade0c 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_; } |