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

@@ -39,7 +39,7 @@ class ClientSchemeHandler : public CefResourceHandler {
bool handled = false;
std::string url = request->GetURL();
if (strstr(url.c_str(), "handler.html") != NULL) {
if (strstr(url.c_str(), "handler.html") != nullptr) {
// Build the response html
data_ =
"<html><head><title>Client Scheme Handler</title></head>"
@@ -65,7 +65,7 @@ class ClientSchemeHandler : public CefResourceHandler {
// Set the resulting mime type
mime_type_ = "text/html";
} else if (strstr(url.c_str(), "logo.png") != NULL) {
} else if (strstr(url.c_str(), "logo.png") != nullptr) {
// Load the response image
if (LoadBinaryResource("logo.png", data_)) {
handled = true;