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=a19cac14ca6d1a334920a83e092ff2accb7a0d4c$
// $hash=be2c5bdbd772cac7345acb05b976a3cf2e05b8b0$
//
#include "libcef_dll/cpptoc/end_tracing_callback_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -21,6 +22,8 @@ namespace {
void CEF_CALLBACK end_tracing_callback_on_end_tracing_complete(
struct _cef_end_tracing_callback_t* self,
const cef_string_t* tracing_file) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -45,6 +48,12 @@ CefEndTracingCallbackCppToC::CefEndTracingCallbackCppToC() {
end_tracing_callback_on_end_tracing_complete;
}
// DESTRUCTOR - Do not edit by hand.
CefEndTracingCallbackCppToC::~CefEndTracingCallbackCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefEndTracingCallback> CefCppToCRefCounted<
CefEndTracingCallbackCppToC,