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=1064107d05675f032c5b64fb376f301af01e03c8$
// $hash=0c57a2898a260d61342066e6e923d2ae60007680$
//
#include "libcef_dll/cpptoc/delete_cookies_callback_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -21,6 +22,8 @@ namespace {
void CEF_CALLBACK
delete_cookies_callback_on_complete(struct _cef_delete_cookies_callback_t* self,
int num_deleted) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -39,6 +42,12 @@ CefDeleteCookiesCallbackCppToC::CefDeleteCookiesCallbackCppToC() {
GetStruct()->on_complete = delete_cookies_callback_on_complete;
}
// DESTRUCTOR - Do not edit by hand.
CefDeleteCookiesCallbackCppToC::~CefDeleteCookiesCallbackCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefDeleteCookiesCallback> CefCppToCRefCounted<
CefDeleteCookiesCallbackCppToC,