[AT-SPI] Use WeakHandle<Actor> in Accessible objects 38/256538/3
authorArtur Świgoń <a.swigon@samsung.com>
Tue, 6 Apr 2021 09:03:39 +0000 (11:03 +0200)
committerArtur Świgoń <a.swigon@samsung.com>
Wed, 7 Apr 2021 07:53:43 +0000 (09:53 +0200)
commit19b6edb066bc90ab6fd4ce93b9dc49b5224d7815
tree191c1f229791fb4c08e5f05ed4d0e583bf2b9b79
parentf15407e1710844219f3e418e83e689b5ff7341c2
[AT-SPI] Use WeakHandle<Actor> in Accessible objects

This breaks a strong reference cycle between Control::Impl, Actor, and
AccessibleImpl. AccessibleImpl objects are stored as a std::unique_ptr
in Control::Impl, so they do not need a strong actor handle.

Change-Id: Iadf366dde0fe9cf1ca41128b027bc8add0717b39
16 files changed:
dali-toolkit/devel-api/controls/accessible-impl.cpp
dali-toolkit/devel-api/controls/accessible-impl.h
dali-toolkit/internal/controls/buttons/button-impl.cpp
dali-toolkit/internal/controls/buttons/check-box-button-impl.cpp
dali-toolkit/internal/controls/buttons/push-button-impl.cpp
dali-toolkit/internal/controls/buttons/radio-button-impl.cpp
dali-toolkit/internal/controls/buttons/toggle-button-impl.cpp
dali-toolkit/internal/controls/popup/popup-impl.cpp
dali-toolkit/internal/controls/progress-bar/progress-bar-impl.cpp
dali-toolkit/internal/controls/scroll-bar/scroll-bar-impl.cpp
dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.cpp
dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp
dali-toolkit/internal/controls/slider/slider-impl.cpp
dali-toolkit/internal/controls/text-controls/text-editor-impl.cpp
dali-toolkit/internal/controls/text-controls/text-field-impl.cpp
dali-toolkit/internal/controls/text-controls/text-label-impl.cpp