Implement new approach for debugging leaked wrapper object references (issue #2593)

This commit is contained in:
Marshall Greenblatt
2019-01-23 16:42:12 +01:00
parent 176e14d451
commit 3fe062a5b6
576 changed files with 8806 additions and 733 deletions

View File

@ -9,10 +9,11 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=55f242d9e8ad072130b55f2f0b308934a3a23284$
// $hash=d5483aff907aea5974de15ba3d429186b774888f$
//
#include "libcef_dll/cpptoc/print_job_callback_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -20,6 +21,8 @@ namespace {
void CEF_CALLBACK
print_job_callback_cont(struct _cef_print_job_callback_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -38,6 +41,12 @@ CefPrintJobCallbackCppToC::CefPrintJobCallbackCppToC() {
GetStruct()->cont = print_job_callback_cont;
}
// DESTRUCTOR - Do not edit by hand.
CefPrintJobCallbackCppToC::~CefPrintJobCallbackCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefPrintJobCallback> CefCppToCRefCounted<
CefPrintJobCallbackCppToC,