mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Implement new approach for debugging leaked wrapper object references (issue #2593)
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user