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=77749849f5fb037982dcb9817315ad48610f6cf3$
|
||||
// $hash=6cb38f54146095f4335340ef3183115c4142c30b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/domdocument_ctocpp.h"
|
||||
@ -40,7 +40,7 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetDocument() {
|
||||
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_document))
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -56,7 +56,7 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetBody() {
|
||||
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_body))
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -72,7 +72,7 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetHead() {
|
||||
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_head))
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -108,14 +108,14 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetElementById(
|
||||
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_element_by_id))
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: id; type: string_byref_const
|
||||
DCHECK(!id.empty());
|
||||
if (id.empty())
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// Execute
|
||||
cef_domnode_t* _retval = _struct->get_element_by_id(_struct, id.GetStruct());
|
||||
@ -130,7 +130,7 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetFocusedNode() {
|
||||
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_focused_node))
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -284,7 +284,7 @@ cef_domdocument_t*
|
||||
CefCToCppRefCounted<CefDOMDocumentCToCpp, CefDOMDocument, cef_domdocument_t>::
|
||||
UnwrapDerived(CefWrapperType type, CefDOMDocument* c) {
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
Reference in New Issue
Block a user