[M120 Migration]Define correct type as gfx::AcceleratedWidget for arch64 20/309220/2 submit/tizen/20240408.160022
authorzhaodan <danys.zhao@samsung.com>
Sun, 7 Apr 2024 10:14:30 +0000 (18:14 +0800)
committerBot Blink <blinkbot@samsung.com>
Mon, 8 Apr 2024 15:30:34 +0000 (15:30 +0000)
commite0640adc00b71f4210eed2f90001b9b2ebea727a
tree63f2976c234cfb7e63affe8686506fc973d67e69
parentda3845600fe150c21eb1a53399b3fd7e324a3dfa
[M120 Migration]Define correct type as gfx::AcceleratedWidget for arch64

Issue:
gfx::AcceleratedWidget was defined as uint32_t while using OZone,
so when cast Window pointer to gfx::AcceleratedWidget on 64bit build,
the address will lose higher bits and become invalid.
Then when EGL APIs accessing the window pointer,
the process will crash.

Ref: https://review.tizen.org/gerrit/#/c/294274

Change-Id: I2a843f63bae185122a02a75d198cdd929ee23247
Signed-off-by: zhaodan <danys.zhao@samsung.com>
ui/gfx/native_widget_types.h
ui/linux/linux_ui_delegate.h