X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali%2Futc-Dali-LongPressGestureDetector.cpp;h=3fbf4250559bed407b611667f7448d401f77885b;hb=a416e02739d885d7469ddba790c15974df6091e1;hp=56c1146c127732ca3d804cd846f23a5fde1ee411;hpb=9d3d4965d110517e962a608ec6413612a9e57ccc;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/automated-tests/src/dali/utc-Dali-LongPressGestureDetector.cpp b/automated-tests/src/dali/utc-Dali-LongPressGestureDetector.cpp index 56c1146..3fbf425 100644 --- a/automated-tests/src/dali/utc-Dali-LongPressGestureDetector.cpp +++ b/automated-tests/src/dali/utc-Dali-LongPressGestureDetector.cpp @@ -60,7 +60,7 @@ struct SignalData receivedGesture.screenPoint = Vector2(0.0f, 0.0f); receivedGesture.localPoint = Vector2(0.0f, 0.0f); - pressedActor = NULL; + pressedActor.Reset(); } bool functorCalled; @@ -1224,7 +1224,7 @@ int UtcDaliLongPressGestureActorStagedAndDestroyed(void) application.Render(); // Delete actor as well - actor = NULL; + actor.Reset(); // Render and notify application.SendNotification();