mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update generated files for copyright year and bracket style
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ef632f8846499c0605300240a2ec7240a1750ce2$
|
||||
// $hash=875b4e63f320e3ee1c1802fe28e8a842e4b89fdc$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/run_file_dialog_callback_ctocpp.h"
|
||||
@ -24,8 +24,9 @@ void CefRunFileDialogCallbackCToCpp::OnFileDialogDismissed(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_run_file_dialog_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_file_dialog_dismissed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_file_dialog_dismissed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -34,15 +35,17 @@ void CefRunFileDialogCallbackCToCpp::OnFileDialogDismissed(
|
||||
// Translate param: file_paths; type: string_vec_byref_const
|
||||
cef_string_list_t file_pathsList = cef_string_list_alloc();
|
||||
DCHECK(file_pathsList);
|
||||
if (file_pathsList)
|
||||
if (file_pathsList) {
|
||||
transfer_string_list_contents(file_paths, file_pathsList);
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_file_dialog_dismissed(_struct, file_pathsList);
|
||||
|
||||
// Restore param:file_paths; type: string_vec_byref_const
|
||||
if (file_pathsList)
|
||||
if (file_pathsList) {
|
||||
cef_string_list_free(file_pathsList);
|
||||
}
|
||||
}
|
||||
|
||||
// CONSTRUCTOR - Do not edit by hand.
|
||||
|
Reference in New Issue
Block a user