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,16 +9,19 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=67be49662843b260fb51d6b63474ed11ddcebeed$
// $hash=e058040d92110f4c34e8e3dbfdeb6ea7083648c3$
//
#include "libcef_dll/ctocpp/end_tracing_callback_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
// VIRTUAL METHODS - Body may be edited by hand.
NO_SANITIZE("cfi-icall")
void CefEndTracingCallbackCToCpp::OnEndTracingComplete(
const CefString& tracing_file) {
shutdown_checker::AssertNotShutdown();
cef_end_tracing_callback_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, on_end_tracing_complete))
return;
@@ -38,6 +41,12 @@ void CefEndTracingCallbackCToCpp::OnEndTracingComplete(
CefEndTracingCallbackCToCpp::CefEndTracingCallbackCToCpp() {}
// DESTRUCTOR - Do not edit by hand.
CefEndTracingCallbackCToCpp::~CefEndTracingCallbackCToCpp() {
shutdown_checker::AssertNotShutdown();
}
template <>
cef_end_tracing_callback_t* CefCToCppRefCounted<
CefEndTracingCallbackCToCpp,