From 7bcac815c0b122eeb76ec18da1ac84c960d3d854 Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Fri, 17 Jul 2020 18:17:31 +0100 Subject: [PATCH] (Automated Tests) Fix compilation error in tests caused by 07e964a "CORNER_RADIUS_POLICY" change Change-Id: I188713d290d9d83c1589516a7dc950b9b7e7f4ec --- automated-tests/src/dali-toolkit/utc-Dali-Visual.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automated-tests/src/dali-toolkit/utc-Dali-Visual.cpp b/automated-tests/src/dali-toolkit/utc-Dali-Visual.cpp index 2700710..366564d 100644 --- a/automated-tests/src/dali-toolkit/utc-Dali-Visual.cpp +++ b/automated-tests/src/dali-toolkit/utc-Dali-Visual.cpp @@ -3648,7 +3648,7 @@ int UtcDaliVisualRoundedCorner(void) dummy.SetProperty( Actor::Property::SIZE, Vector2( 200.f, 200.f ) ); dummy.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER ); - Stage::GetCurrent().Add( dummy ); + application.GetScene().Add( dummy ); application.SendNotification(); application.Render(); @@ -3680,7 +3680,7 @@ int UtcDaliVisualRoundedCorner(void) dummy.SetProperty( Actor::Property::SIZE, Vector2( 200.f, 200.f ) ); dummy.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER ); - Stage::GetCurrent().Add( dummy ); + application.GetScene().Add( dummy ); application.SendNotification(); application.Render(); -- 2.7.4