cefclient: Convert NULL to nullptr (see issue #2861)

This commit is contained in:
Marshall Greenblatt
2020-01-15 15:28:12 +01:00
parent b785d34d29
commit d02d252690
53 changed files with 173 additions and 170 deletions

View File

@@ -30,7 +30,7 @@ HWND CreateTempWindow() {
1, 1, NULL, NULL, hInstance, NULL);
}
TempWindowWin* g_temp_window = NULL;
TempWindowWin* g_temp_window = nullptr;
} // namespace
@@ -43,7 +43,7 @@ TempWindowWin::TempWindowWin() : hwnd_(NULL) {
}
TempWindowWin::~TempWindowWin() {
g_temp_window = NULL;
g_temp_window = nullptr;
DCHECK(hwnd_);
DestroyWindow(hwnd_);
}