X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Futc-Dali-ToolBar.cpp;h=aa19e76e3663f00fb4620b62b83816f38d1f605c;hp=db745a4b2734973a3172dd501d979b3c51498f97;hb=99e2ea03e6d6059f5803d700932df1ff1c848cd3;hpb=d00a250741411c386d988e7ac34525cf94a1918e diff --git a/automated-tests/src/dali-toolkit/utc-Dali-ToolBar.cpp b/automated-tests/src/dali-toolkit/utc-Dali-ToolBar.cpp index db745a4..aa19e76 100644 --- a/automated-tests/src/dali-toolkit/utc-Dali-ToolBar.cpp +++ b/automated-tests/src/dali-toolkit/utc-Dali-ToolBar.cpp @@ -21,7 +21,7 @@ #include #include #include -#include +#include using namespace Dali; using namespace Toolkit; @@ -39,12 +39,12 @@ Actor CreateColorActor( const Vector4& color ) { Actor solidColorActor = Actor::New(); - RendererFactory factory = RendererFactory::Get(); + VisualFactory factory = VisualFactory::Get(); Dali::Property::Map map; map[ "rendererType" ] = "COLOR"; map[ "mixColor" ] = color; - ControlRenderer colorRenderer = factory.CreateControlRenderer( map ); - colorRenderer.SetOnStage( solidColorActor ); + Visual::Base colorVisual = factory.CreateVisual( map ); + colorVisual.SetOnStage( solidColorActor ); return solidColorActor; }