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=6ed36459f735673582a3619a92be93ccf8bf05db$
|
||||
// $hash=4ccc62b0449038044535576aed814a925db93432$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_ctocpp.h"
|
||||
@@ -698,7 +698,7 @@ CefTranslatorTestCToCpp::GetRefPtrLibrary(int val) {
|
||||
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_ref_ptr_library))
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -742,14 +742,14 @@ CefTranslatorTestCToCpp::SetRefPtrLibraryAndReturn(
|
||||
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_ref_ptr_library_and_return))
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: val; type: refptr_same
|
||||
DCHECK(val.get());
|
||||
if (!val.get())
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// Execute
|
||||
cef_translator_test_ref_ptr_library_t* _retval =
|
||||
@@ -792,14 +792,14 @@ CefTranslatorTestCToCpp::SetChildRefPtrLibraryAndReturnParent(
|
||||
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_child_ref_ptr_library_and_return_parent))
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: val; type: refptr_same
|
||||
DCHECK(val.get());
|
||||
if (!val.get())
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// Execute
|
||||
cef_translator_test_ref_ptr_library_t* _retval =
|
||||
@@ -944,14 +944,14 @@ CefTranslatorTestCToCpp::SetRefPtrClientAndReturn(
|
||||
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_ref_ptr_client_and_return))
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: val; type: refptr_diff
|
||||
DCHECK(val.get());
|
||||
if (!val.get())
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// Execute
|
||||
cef_translator_test_ref_ptr_client_t* _retval =
|
||||
@@ -994,14 +994,14 @@ CefTranslatorTestCToCpp::SetChildRefPtrClientAndReturnParent(
|
||||
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_child_ref_ptr_client_and_return_parent))
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: val; type: refptr_diff
|
||||
DCHECK(val.get());
|
||||
if (!val.get())
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
// Execute
|
||||
cef_translator_test_ref_ptr_client_t* _retval =
|
||||
@@ -1552,7 +1552,7 @@ cef_translator_test_t* CefCToCppRefCounted<
|
||||
cef_translator_test_t>::UnwrapDerived(CefWrapperType type,
|
||||
CefTranslatorTest* c) {
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=142a2ba17910dd7c4741e7772776fa6f94fd586f$
|
||||
// $hash=2453173215db3e380519cc01ccf4e6716728a3e6$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_client_child_ctocpp.h"
|
||||
@@ -71,7 +71,7 @@ CefCToCppRefCounted<CefTranslatorTestRefPtrClientChildCToCpp,
|
||||
cef_translator_test_ref_ptr_client_child_t>::
|
||||
UnwrapDerived(CefWrapperType type, CefTranslatorTestRefPtrClientChild* c) {
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=e53a6f189143df37476966e3a436d24c9e775239$
|
||||
// $hash=a92bb99010dc728a39413e46e68a19cd2ac2906b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_client_ctocpp.h"
|
||||
@@ -56,7 +56,7 @@ CefCToCppRefCounted<CefTranslatorTestRefPtrClientCToCpp,
|
||||
reinterpret_cast<CefTranslatorTestRefPtrClientChild*>(c)));
|
||||
}
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=352d568e6478661b3da17d59241c6eec2db5f78b$
|
||||
// $hash=393e66b4a61fb024e637495a6015f571ae9f2934$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_library_child_child_ctocpp.h"
|
||||
@@ -157,7 +157,7 @@ CefCToCppRefCounted<CefTranslatorTestRefPtrLibraryChildChildCToCpp,
|
||||
UnwrapDerived(CefWrapperType type,
|
||||
CefTranslatorTestRefPtrLibraryChildChild* c) {
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=5d6ecce15bbbe0d5bede4aafcc32f3a0edc92217$
|
||||
// $hash=752d19a05cc2fd993f6a501894bd06aebfee72f2$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_library_child_ctocpp.h"
|
||||
@@ -123,7 +123,7 @@ CefCToCppRefCounted<CefTranslatorTestRefPtrLibraryChildCToCpp,
|
||||
reinterpret_cast<CefTranslatorTestRefPtrLibraryChildChild*>(c)));
|
||||
}
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=50e46fea2cc77bcb7a3b203e3887f2bbd552a40f$
|
||||
// $hash=8bb13d683dd6c3dd98a0990de4b3e2396e9f9a1e$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_library_ctocpp.h"
|
||||
@@ -93,7 +93,7 @@ CefCToCppRefCounted<CefTranslatorTestRefPtrLibraryCToCpp,
|
||||
reinterpret_cast<CefTranslatorTestRefPtrLibraryChildChild*>(c)));
|
||||
}
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c7f883d9f0c64c83c859a534b220a637808e65f7$
|
||||
// $hash=d9e908faae3ca204ade3cceff3471419b234dddb$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_scoped_client_child_ctocpp.h"
|
||||
@@ -65,7 +65,7 @@ CefCToCppScoped<CefTranslatorTestScopedClientChildCToCpp,
|
||||
UnwrapDerivedOwn(CefWrapperType type,
|
||||
CefOwnPtr<CefTranslatorTestScopedClientChild> c) {
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
@@ -76,7 +76,7 @@ CefCToCppScoped<CefTranslatorTestScopedClientChildCToCpp,
|
||||
UnwrapDerivedRaw(CefWrapperType type,
|
||||
CefRawPtr<CefTranslatorTestScopedClientChild> c) {
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=7cacf965cee2067dd7c60435eb312e93d311d409$
|
||||
// $hash=5c7f3edee8fa09ae414ccc7cacfaaa9713cdbf2c$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_scoped_client_ctocpp.h"
|
||||
@@ -54,7 +54,7 @@ CefCToCppScoped<CefTranslatorTestScopedClientCToCpp,
|
||||
c.release()))));
|
||||
}
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
@@ -72,7 +72,7 @@ CefCToCppScoped<CefTranslatorTestScopedClientCToCpp,
|
||||
CEF_RAW_PTR_GET(c)))));
|
||||
}
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=fa29940d81fcb680330affee56b07513ccac3507$
|
||||
// $hash=fc692610bce3f501fc3cbcf316da081d29a03cd9$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_scoped_library_child_child_ctocpp.h"
|
||||
@@ -140,7 +140,7 @@ CefCToCppScoped<CefTranslatorTestScopedLibraryChildChildCToCpp,
|
||||
UnwrapDerivedOwn(CefWrapperType type,
|
||||
CefOwnPtr<CefTranslatorTestScopedLibraryChildChild> c) {
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
@@ -151,7 +151,7 @@ CefCToCppScoped<CefTranslatorTestScopedLibraryChildChildCToCpp,
|
||||
UnwrapDerivedRaw(CefWrapperType type,
|
||||
CefRawPtr<CefTranslatorTestScopedLibraryChildChild> c) {
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=41882a1e3c513646c965c678011f0db28573d38c$
|
||||
// $hash=e76720f37e225d0c2f30938ec59b1e73e61b9017$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_scoped_library_child_ctocpp.h"
|
||||
@@ -113,7 +113,7 @@ CefCToCppScoped<CefTranslatorTestScopedLibraryChildCToCpp,
|
||||
c.release()))));
|
||||
}
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
@@ -131,7 +131,7 @@ CefCToCppScoped<CefTranslatorTestScopedLibraryChildCToCpp,
|
||||
CEF_RAW_PTR_GET(c)))));
|
||||
}
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=81ef66855f54104f441fc12502bb8ce93980bedc$
|
||||
// $hash=f7a516322c3b9b51a545f7b826dbfb509a7194e7$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_scoped_library_ctocpp.h"
|
||||
@@ -89,7 +89,7 @@ CefCToCppScoped<CefTranslatorTestScopedLibraryCToCpp,
|
||||
c.release()))));
|
||||
}
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
@@ -114,7 +114,7 @@ CefCToCppScoped<CefTranslatorTestScopedLibraryCToCpp,
|
||||
CEF_RAW_PTR_GET(c)))));
|
||||
}
|
||||
NOTREACHED() << "Unexpected class type: " << type;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
Reference in New Issue
Block a user