Revert "[Tizen] Add codes for Dali Windows Backend"
[platform/core/uifw/dali-core.git] / dali / internal / update / nodes / scene-graph-layer.h
index 26b217e..f56bdd3 100644 (file)
@@ -334,14 +334,8 @@ inline void SetDepthTestDisabledMessage( EventThreadServices& eventThreadService
 
 // Template specialisation for OwnerPointer<Layer>, because delete is protected
 template <>
-inline void OwnerPointer<Dali::Internal::SceneGraph::Layer>::Reset()
-{
-  if (mObject != NULL)
-  {
-    Dali::Internal::SceneGraph::Node::Delete(mObject);
-    mObject = NULL;
-  }
-}
+void OwnerPointer<Dali::Internal::SceneGraph::Layer>::Reset();
+
 } // namespace Internal
 
 } // namespace Dali