mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update generated files for NULL to nullptr conversion (see issue #2861)
This commit is contained in:
@ -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 <>
|
||||
|
Reference in New Issue
Block a user