X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=base%2Fdali-toolkit%2Fpublic-api%2Fcontrols%2Fcontrol-impl.cpp;h=87e7a0d0584c06f137007b2b2bb30f377d1416c1;hp=65e0aa80eb78e3b56166fa0a74d6582f8a9a0cc8;hb=b54d9cd65c353af149eb2bafa60ae02a825fd9c1;hpb=923a624e8671c0649eee08438828eb7ee3733a14 diff --git a/base/dali-toolkit/public-api/controls/control-impl.cpp b/base/dali-toolkit/public-api/controls/control-impl.cpp index 65e0aa8..87e7a0d 100644 --- a/base/dali-toolkit/public-api/controls/control-impl.cpp +++ b/base/dali-toolkit/public-api/controls/control-impl.cpp @@ -749,7 +749,7 @@ void Control::SetBackground( Image image ) { // Remove Current actor, unset AFTER removal so that we do not inform deriving classes Self().Remove( background.actor ); - background.actor = NULL; + background.actor.Reset(); } ImageActor imageActor = ImageActor::New( image );