X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fvisual-factory-cache.h;h=bb4744cb36e8623a47b8ae34a2853b02dfa9208c;hb=da542faf0b7a87faf24aad20458b0bfa9d1eed28;hp=cff49ac15e248daaf97b24ea3df5606064613c36;hpb=49f7b38fb9b98b449ebafd09e5eee77f6ea6d59b;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/visuals/visual-factory-cache.h b/dali-toolkit/internal/visuals/visual-factory-cache.h old mode 100644 new mode 100755 index cff49ac..bb4744c --- a/dali-toolkit/internal/visuals/visual-factory-cache.h +++ b/dali-toolkit/internal/visuals/visual-factory-cache.h @@ -47,7 +47,7 @@ typedef IntrusivePtr ImageAtlasManagerPtr; /** * Caches shaders and geometries. Owned by VisualFactory. */ -class VisualFactoryCache : public RefObject +class VisualFactoryCache { public: @@ -114,6 +114,11 @@ public: VisualFactoryCache( bool preMultiplyOnLoad ); /** + * @brief Destructor + */ + ~VisualFactoryCache(); + + /** * Request geometry of the given type. * @return The geometry of the required type if it exist in the cache. Otherwise, an empty handle is returned. */ @@ -203,11 +208,6 @@ private: // for svg rasterization thread protected: /** - * A reference counted object may only be deleted by calling Unreference() - */ - virtual ~VisualFactoryCache(); - - /** * Undefined copy constructor. */ VisualFactoryCache(const VisualFactoryCache&);