mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-12 09:37:37 +01:00
019611c764
Under ARC (Automatic Reference Counting), assigning to an Objective-C pointer has different semantics than assigning to a void* pointer. This makes it dangerous to treat the same memory address as an Objective-C pointer in some cases and as a "regular C pointer" in other cases. This change removes the conditional type defines and instead uses void* everywhere. Explicit type casting in combination with ARC annotations makes it safe to get typed Objective-C pointers from the void* pointers. This change enables ARC by default in the CEF binary distribution CMake configuration for the cefclient and cefsimple sample applications. It can be disabled by adding `-DOPTION_USE_ARC=Off` to the CMake command line. ARC is not supported when building Chromium due to the substantial number of changes that would be required in the Chromium code base. |
||
---|---|---|
.. | ||
browser_platform_delegate_native_linux.cc | ||
browser_platform_delegate_native_linux.h | ||
browser_platform_delegate_native_mac.h | ||
browser_platform_delegate_native_mac.mm | ||
browser_platform_delegate_native_win.cc | ||
browser_platform_delegate_native_win.h | ||
browser_platform_delegate_native.cc | ||
browser_platform_delegate_native.h | ||
file_dialog_runner_mac.h | ||
file_dialog_runner_mac.mm | ||
file_dialog_runner_win.cc | ||
file_dialog_runner_win.h | ||
javascript_dialog_runner_mac.h | ||
javascript_dialog_runner_mac.mm | ||
javascript_dialog_runner_win.cc | ||
javascript_dialog_runner_win.h | ||
menu_2.cc | ||
menu_2.h | ||
menu_runner_linux.cc | ||
menu_runner_linux.h | ||
menu_runner_mac.h | ||
menu_runner_mac.mm | ||
menu_runner_win.cc | ||
menu_runner_win.h | ||
menu_wrapper.h | ||
native_menu_win.cc | ||
native_menu_win.h | ||
window_delegate_view.cc | ||
window_delegate_view.h | ||
window_x11.cc | ||
window_x11.h |