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

@@ -83,7 +83,7 @@ void GetInternalManifest(const std::string& extension_path,
if (!LoadBinaryResource(manifest_path.c_str(), manifest_contents) ||
manifest_contents.empty()) {
LOG(ERROR) << "Failed to load manifest from " << manifest_path;
RunManifestCallback(callback, NULL);
RunManifestCallback(callback, nullptr);
return;
}
@@ -96,7 +96,7 @@ void GetInternalManifest(const std::string& extension_path,
error_msg = "Incorrectly formatted dictionary contents.";
LOG(ERROR) << "Failed to parse manifest from " << manifest_path << "; "
<< error_msg.ToString();
RunManifestCallback(callback, NULL);
RunManifestCallback(callback, nullptr);
return;
}
@@ -178,7 +178,7 @@ void LoadExtension(CefRefPtr<CefRequestContext> request_context,
extension_path, handler));
} else {
// Load the extension from disk.
request_context->LoadExtension(extension_path, NULL, handler);
request_context->LoadExtension(extension_path, nullptr, handler);
}
}