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=b082935de7c6abbd9211afff8f8ca5b065697677$
// $hash=6a8359ec33d2f2e18551fe0b1abf91df68c4417f$
//
#include "libcef_dll/cpptoc/views/box_layout_cpptoc.h"
@ -138,7 +138,7 @@ CefRefPtr<CefBoxLayout>
CefCppToCRefCounted<CefBoxLayoutCppToC, CefBoxLayout, cef_box_layout_t>::
UnwrapDerived(CefWrapperType type, cef_box_layout_t* s) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=a6b07af53b9f3af8804e7068f60e1cb15614b1a8$
// $hash=41288fac368c771f9c673f231f6f632f6c6ec255$
//
#include "libcef_dll/cpptoc/views/browser_view_cpptoc.h"
@ -1144,7 +1144,7 @@ CefRefPtr<CefBrowserView>
CefCppToCRefCounted<CefBrowserViewCppToC, CefBrowserView, cef_browser_view_t>::
UnwrapDerived(CefWrapperType type, cef_browser_view_t* s) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=baf1fac516c1c52da7342b35c96a467a541215ca$
// $hash=c9ea7a1dae87105f7abfbd2e95747bc3380a9dc6$
//
#include "libcef_dll/cpptoc/views/browser_view_delegate_cpptoc.h"
@ -384,7 +384,7 @@ CefRefPtr<CefBrowserViewDelegate> CefCppToCRefCounted<
cef_browser_view_delegate_t*
s) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=594fd84b0f65a5c6f76e94df5ab7cbcef19a8229$
// $hash=9dde9e370abff08479bf0e7f81b59356c7646f41$
//
#include "libcef_dll/cpptoc/views/button_cpptoc.h"
@ -1123,7 +1123,7 @@ CefCppToCRefCounted<CefButtonCppToC, CefButton, cef_button_t>::UnwrapDerived(
return CefMenuButtonCppToC::Unwrap(reinterpret_cast<cef_menu_button_t*>(s));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=3fd7ea892d48a0c6f5b444e87689bce2427580a7$
// $hash=54ea52665f0558439e3c7f885962d75ce3992a0d$
//
#include "libcef_dll/cpptoc/views/button_delegate_cpptoc.h"
@ -288,7 +288,7 @@ CefRefPtr<CefButtonDelegate> CefCppToCRefCounted<
reinterpret_cast<cef_menu_button_delegate_t*>(s));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=e903c692a75a88ac4acdef408ed01923053dcba2$
// $hash=d4f5ea07778b1ad3a08a1826dced47de771f9b02$
//
#include "libcef_dll/cpptoc/views/display_cpptoc.h"
@ -282,7 +282,7 @@ CefCppToCRefCounted<CefDisplayCppToC, CefDisplay, cef_display_t>::UnwrapDerived(
CefWrapperType type,
cef_display_t* s) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=d5f0ef3f474c89dc5e8e2047a17977c87423d819$
// $hash=cb375aa1dd0f29b5c43133bf6763bb2a0bb920bd$
//
#include "libcef_dll/cpptoc/views/fill_layout_cpptoc.h"
@ -97,7 +97,7 @@ CefRefPtr<CefFillLayout>
CefCppToCRefCounted<CefFillLayoutCppToC, CefFillLayout, cef_fill_layout_t>::
UnwrapDerived(CefWrapperType type, cef_fill_layout_t* s) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=fbc73716d31a2f3f1a7ae9a5c07bb145d5deeb64$
// $hash=5d0c0d1982ef193450f5b331f6ad378ddbd8dbcc$
//
#include "libcef_dll/cpptoc/views/label_button_cpptoc.h"
@ -1405,7 +1405,7 @@ CefCppToCRefCounted<CefLabelButtonCppToC, CefLabelButton, cef_label_button_t>::
return CefMenuButtonCppToC::Unwrap(reinterpret_cast<cef_menu_button_t*>(s));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=683fe6a6d097112b17451d043df104ebf20bf54a$
// $hash=b690e5907fc196ab782442abcc218bf296537625$
//
#include "libcef_dll/cpptoc/views/layout_cpptoc.h"
@ -99,7 +99,7 @@ CefCppToCRefCounted<CefLayoutCppToC, CefLayout, cef_layout_t>::UnwrapDerived(
return CefFillLayoutCppToC::Unwrap(reinterpret_cast<cef_fill_layout_t*>(s));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=fc16071f714662d6ff84f04ab8f71f2509cee017$
// $hash=47415544c8e36043a2a115453055bf98b888ecf1$
//
#include "libcef_dll/cpptoc/views/menu_button_cpptoc.h"
@ -1455,7 +1455,7 @@ CefRefPtr<CefMenuButton>
CefCppToCRefCounted<CefMenuButtonCppToC, CefMenuButton, cef_menu_button_t>::
UnwrapDerived(CefWrapperType type, cef_menu_button_t* s) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=f214a9c072656186e8ea84853d4d796745181bbf$
// $hash=b434cff14ab679afd18ea45fa06e37cdfe063270$
//
#include "libcef_dll/cpptoc/views/menu_button_delegate_cpptoc.h"
@ -333,7 +333,7 @@ CefRefPtr<CefMenuButtonDelegate> CefCppToCRefCounted<
cef_menu_button_delegate_t>::UnwrapDerived(CefWrapperType type,
cef_menu_button_delegate_t* s) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=5cfd01f4ee61c06f5a3c595f153d56bf735624b9$
// $hash=85de615d0f69853565613b907ca8ed785996726f$
//
#include "libcef_dll/cpptoc/views/menu_button_pressed_lock_cpptoc.h"
@ -32,7 +32,7 @@ CefCppToCRefCounted<CefMenuButtonPressedLockCppToC,
cef_menu_button_pressed_lock_t>::
UnwrapDerived(CefWrapperType type, cef_menu_button_pressed_lock_t* s) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=1938d110823dcce65f21868f995b1db38075a2e1$
// $hash=16383327a932a7da5991ac84d9689cea25318bdc$
//
#include "libcef_dll/cpptoc/views/panel_cpptoc.h"
@ -1251,7 +1251,7 @@ CefCppToCRefCounted<CefPanelCppToC, CefPanel, cef_panel_t>::UnwrapDerived(
return CefWindowCppToC::Unwrap(reinterpret_cast<cef_window_t*>(s));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=86316b91574d4bd0505e59e14212f72e984ff2ff$
// $hash=69b5f96bfef5ed4e368ff868fc8968d38a1159bb$
//
#include "libcef_dll/cpptoc/views/panel_delegate_cpptoc.h"
@ -244,7 +244,7 @@ CefRefPtr<CefPanelDelegate> CefCppToCRefCounted<
reinterpret_cast<cef_window_delegate_t*>(s));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=fb2af62ed6ec215dd31dae42e1b6c573c16a1182$
// $hash=d2be86a1a89f55279682893e5a98366dd9c8f668$
//
#include "libcef_dll/cpptoc/views/scroll_view_cpptoc.h"
@ -1191,7 +1191,7 @@ CefRefPtr<CefScrollView>
CefCppToCRefCounted<CefScrollViewCppToC, CefScrollView, cef_scroll_view_t>::
UnwrapDerived(CefWrapperType type, cef_scroll_view_t* s) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=f53be20a44c3bd718b07487a4275d70f8f285c75$
// $hash=9ee756d7e93888230541b494da5559d736260b5c$
//
#include "libcef_dll/cpptoc/views/textfield_cpptoc.h"
@ -1609,7 +1609,7 @@ CefRefPtr<CefTextfield>
CefCppToCRefCounted<CefTextfieldCppToC, CefTextfield, cef_textfield_t>::
UnwrapDerived(CefWrapperType type, cef_textfield_t* s) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=d43a3fec2ee5d9dab12a30e2427d8cb0fdb0402c$
// $hash=5c2d33803cefd442d3995d06f2fb0e8adc26aa4d$
//
#include "libcef_dll/cpptoc/views/textfield_delegate_cpptoc.h"
@ -300,7 +300,7 @@ CefRefPtr<CefTextfieldDelegate> CefCppToCRefCounted<
cef_textfield_delegate_t>::UnwrapDerived(CefWrapperType type,
cef_textfield_delegate_t* s) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=4eb64b628914b154fdb7fcbc0bc8fdf7e9696eb7$
// $hash=cdddd584b0d4f91a93f0f635023d7d21040b7ade$
//
#include "libcef_dll/cpptoc/views/view_cpptoc.h"
@ -975,7 +975,7 @@ CefCppToCRefCounted<CefViewCppToC, CefView, cef_view_t>::UnwrapDerived(
return CefWindowCppToC::Unwrap(reinterpret_cast<cef_window_t*>(s));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=22797d43c0ba9709d920738772598d14e5a90916$
// $hash=f29ee71b497bc4f8ec55026e1e017d3d32dbc493$
//
#include "libcef_dll/cpptoc/views/view_delegate_cpptoc.h"
@ -261,7 +261,7 @@ CefRefPtr<CefViewDelegate> CefCppToCRefCounted<
reinterpret_cast<cef_window_delegate_t*>(s));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=1752f4140057e1a5d811537b12ded52822a2a1b1$
// $hash=9543a25fe57ff1139ac9a7fb9df7f6cf272381e1$
//
#include "libcef_dll/cpptoc/views/window_cpptoc.h"
@ -1891,7 +1891,7 @@ CefCppToCRefCounted<CefWindowCppToC, CefWindow, cef_window_t>::UnwrapDerived(
CefWrapperType type,
cef_window_t* s) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=8de9d3ac6c65492625846bfa17cf6e59c48631e3$
// $hash=52b31a63bbe83937a9f5dc557accfc1e84af6d84$
//
#include "libcef_dll/cpptoc/views/window_delegate_cpptoc.h"
@ -509,7 +509,7 @@ CefRefPtr<CefWindowDelegate> CefCppToCRefCounted<
cef_window_delegate_t>::UnwrapDerived(CefWrapperType type,
cef_window_delegate_t* s) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
return nullptr;
}
template <>