CanvasRenderer: Change name DrawableGroup::Clear() to RemoveAllDrawables()
[platform/core/uifw/dali-adaptor.git] / dali / internal / canvas-renderer / ubuntu / drawable-group-impl-ubuntu.cpp
index 5a80ff3..ccc590c 100644 (file)
@@ -101,7 +101,7 @@ bool DrawableGroupUbuntu::AddDrawable(Dali::CanvasRenderer::Drawable& drawable)
 #endif
 }
 
-bool DrawableGroupUbuntu::Clear()
+bool DrawableGroupUbuntu::RemoveAllDrawables()
 {
 #ifdef THORVG_SUPPORT
   if(!Drawable::GetObject() || !mTvgScene)
@@ -120,7 +120,7 @@ bool DrawableGroupUbuntu::Clear()
 
   if(static_cast<tvg::Scene*>(mTvgScene)->clear() != tvg::Result::Success)
   {
-    DALI_LOG_ERROR("Clear() fail.\n");
+    DALI_LOG_ERROR("RemoveAllDrawables() fail.\n");
     return false;
   }