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

This commit is contained in:
Marshall Greenblatt
2020-01-15 15:26:01 +01:00
parent f5eef5390a
commit b785d34d29
5 changed files with 10 additions and 10 deletions

View File

@@ -32,7 +32,7 @@ class SimpleWindowDelegate : public CefWindowDelegate {
}
void OnWindowDestroyed(CefRefPtr<CefWindow> window) OVERRIDE {
browser_view_ = NULL;
browser_view_ = nullptr;
}
bool CanClose(CefRefPtr<CefWindow> window) OVERRIDE {
@@ -91,7 +91,7 @@ void SimpleApp::OnContextInitialized() {
if (use_views) {
// Create the BrowserView.
CefRefPtr<CefBrowserView> browser_view = CefBrowserView::CreateBrowserView(
handler, url, browser_settings, NULL, NULL, NULL);
handler, url, browser_settings, nullptr, nullptr, nullptr);
// Create the Window. It will show itself after creation.
CefWindow::CreateTopLevelWindow(new SimpleWindowDelegate(browser_view));
@@ -107,6 +107,6 @@ void SimpleApp::OnContextInitialized() {
// Create the first browser window.
CefBrowserHost::CreateBrowser(window_info, handler, url, browser_settings,
NULL, NULL);
nullptr, nullptr);
}
}