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,14 +9,17 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=09314c7eb39354c47d9e48fdda3d89764ad05dad$
// $hash=c34c782c8c4d8bfacaeeb06f7e824afead5cf8ed$
//
#include "libcef_dll/ctocpp/completion_callback_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
// VIRTUAL METHODS - Body may be edited by hand.
NO_SANITIZE("cfi-icall") void CefCompletionCallbackCToCpp::OnComplete() {
shutdown_checker::AssertNotShutdown();
cef_completion_callback_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, on_complete))
return;
@@ -31,6 +34,12 @@ NO_SANITIZE("cfi-icall") void CefCompletionCallbackCToCpp::OnComplete() {
CefCompletionCallbackCToCpp::CefCompletionCallbackCToCpp() {}
// DESTRUCTOR - Do not edit by hand.
CefCompletionCallbackCToCpp::~CefCompletionCallbackCToCpp() {
shutdown_checker::AssertNotShutdown();
}
template <>
cef_completion_callback_t* CefCToCppRefCounted<
CefCompletionCallbackCToCpp,