Remove TypeRegistration from deprecated Image classes
[platform/core/uifw/dali-core.git] / dali / internal / event / images / native-image-impl.cpp
index 9c9fdc0..39c8ecb 100644 (file)
@@ -33,11 +33,6 @@ namespace Dali
 namespace Internal
 {
 
-namespace
-{
-TypeRegistration mType( typeid(Dali::NativeImage), typeid(Dali::Image), NULL );
-}
-
 NativeImage::NativeImage( NativeImageInterface& resourceData )
 : Image()
 {
@@ -57,7 +52,7 @@ NativeImagePtr NativeImage::New( NativeImageInterface& resourceData )
   image->mWidth  = resourceData.GetWidth();
   image->mHeight = resourceData.GetHeight();
 
-  image->mTexture = NewTexture::New( resourceData );
+  image->mTexture = Texture::New( resourceData );
   return image;
 }