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

@@ -50,11 +50,11 @@ void BrowserWindow::OnBrowserClosed(CefRefPtr<CefBrowser> browser) {
REQUIRE_MAIN_THREAD();
if (browser_.get()) {
DCHECK_EQ(browser->GetIdentifier(), browser_->GetIdentifier());
browser_ = NULL;
browser_ = nullptr;
}
client_handler_->DetachDelegate();
client_handler_ = NULL;
client_handler_ = nullptr;
// |this| may be deleted.
delegate_->OnBrowserWindowDestroyed();