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=636f1185e6adc987324f44724e38545c40cf2ad1$
|
||||
// $hash=4f23ac8a141103c1153d08aab850c1753bf5899d$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/run_file_dialog_callback_cpptoc.h"
|
||||
#include "libcef_dll/shutdown_checker.h"
|
||||
#include "libcef_dll/transfer_util.h"
|
||||
|
||||
namespace {
|
||||
@ -23,6 +24,8 @@ void CEF_CALLBACK run_file_dialog_callback_on_file_dialog_dismissed(
|
||||
struct _cef_run_file_dialog_callback_t* self,
|
||||
int selected_accept_filter,
|
||||
cef_string_list_t file_paths) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -52,6 +55,12 @@ CefRunFileDialogCallbackCppToC::CefRunFileDialogCallbackCppToC() {
|
||||
run_file_dialog_callback_on_file_dialog_dismissed;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefRunFileDialogCallbackCppToC::~CefRunFileDialogCallbackCppToC() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
}
|
||||
|
||||
template <>
|
||||
CefRefPtr<CefRunFileDialogCallback>
|
||||
CefCppToCRefCounted<CefRunFileDialogCallbackCppToC,
|
||||
|
Reference in New Issue
Block a user