Window - Constructor refactor. 71/229871/1
authorVictor Cebollada <v.cebollada@samsung.com>
Thu, 30 Jan 2020 08:04:48 +0000 (08:04 +0000)
committerSunghyun Kim <scholb.kim@samsung.com>
Mon, 6 Apr 2020 07:05:44 +0000 (16:05 +0900)
commit79e9c0919f6c821dcd24c1cd23ddd10f8e911bf7
treecb8144364b2a47d940f31c2d71bcc277b47a1834
parent6bb8b87587658b23fc7f1d55019fac83ddacef0b
Window - Constructor refactor.

* Fixes a memory leak if multiple window is not supported.
* Common code removed by calling one constructor from another.
* Fixes a circular dependency with Adaptor.
  The Adaptor needs a Window and Window needs the Adaptor to
  be created.

Change-Id: Icf4443f1ecfc758d1fd68d6d8ee032dd3e96274e
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
dali/public-api/adaptor-framework/window.cpp