[Tizen] Ensure ImageView updates mVisual once ready/loaded 34/141834/1
authorAgnelo Vaz <agnelo.vaz@samsung.com>
Tue, 1 Aug 2017 13:35:38 +0000 (14:35 +0100)
committerJinho, Lee <jeano.lee@samsung.com>
Tue, 1 Aug 2017 14:29:42 +0000 (23:29 +0900)
commitc0c8dbbdb61e49c472bea1640bdb3178b3f98853
treedc02aa45590f27b34c1206e23efc9588140d2cee
parent5d443338af860470843d5467719cfe9774206d23
[Tizen] Ensure ImageView updates mVisual once ready/loaded

Previously mVisual was only updated after OnRelayout but this is too late,
RelayoutRequest triggers GetNaturalSize before OnRelayout, GetNaturalSize needs mVisual to be the updated visual not the previous.

Change-Id: I0a39e36d76a21b7274d0fbe49c6b954382de887e
dali-toolkit/internal/controls/image-view/image-view-impl.cpp