Update generated files for NULL to nullptr conversion (see issue #2861)

This commit is contained in:
Marshall Greenblatt
2020-01-15 14:53:19 +01:00
parent 7a701546e1
commit 97d559982e
291 changed files with 909 additions and 909 deletions

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=850622fb4b315c3fbb4e11360360f9aa18a475cd$
// $hash=74d0487f35e81f0d220f947f0b203b04b193929f$
//
#include "libcef_dll/ctocpp/process_message_ctocpp.h"
@ -27,7 +27,7 @@ CefRefPtr<CefProcessMessage> CefProcessMessage::Create(const CefString& name) {
// Verify param: name; type: string_byref_const
DCHECK(!name.empty());
if (name.empty())
return NULL;
return nullptr;
// Execute
cef_process_message_t* _retval = cef_process_message_create(name.GetStruct());
@ -76,7 +76,7 @@ CefRefPtr<CefProcessMessage> CefProcessMessageCToCpp::Copy() {
cef_process_message_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, copy))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -111,7 +111,7 @@ CefRefPtr<CefListValue> CefProcessMessageCToCpp::GetArgumentList() {
cef_process_message_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_argument_list))
return NULL;
return nullptr;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -139,7 +139,7 @@ cef_process_message_t* CefCToCppRefCounted<
cef_process_message_t>::UnwrapDerived(CefWrapperType type,
CefProcessMessage* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>