Index: webrtc/base/win32window.cc |
diff --git a/webrtc/base/win32window.cc b/webrtc/base/win32window.cc |
index daa7688554863a26d772e36738e93f87c825fefc..9abbc86807a63835165b819f0e6689b5e5b80815 100644 |
--- a/webrtc/base/win32window.cc |
+++ b/webrtc/base/win32window.cc |
@@ -9,7 +9,6 @@ |
*/ |
#include "webrtc/base/checks.h" |
-#include "webrtc/base/common.h" |
#include "webrtc/base/logging.h" |
#include "webrtc/base/win32window.h" |
@@ -65,7 +64,8 @@ bool Win32Window::Create(HWND parent, const wchar_t* title, DWORD style, |
} |
void Win32Window::Destroy() { |
- VERIFY(::DestroyWindow(wnd_) != FALSE); |
+ const bool success = ::DestroyWindow(wnd_); |
+ RTC_DCHECK(success); |
} |
void Win32Window::Shutdown() { |