Remove dali-any from Property::Value - reimplement multivalue using more efficient...
[platform/core/uifw/dali-core.git] / dali / internal / event / images / resource-image-impl.cpp
index 675fbcc..7463eac 100644 (file)
@@ -166,8 +166,6 @@ unsigned int ResourceImage::GetWidth() const
     Size size;
     mImageFactory.GetImageSize( mRequest, mTicket, size );
     mWidth = size.width;
-    // The app will probably ask for the height immediately, so don't waste the synchronous file IO that ImageFactory may have just done:
-    DALI_ASSERT_DEBUG( 0 == mHeight || unsigned(size.height) == mHeight );
     if( 0 == mHeight )
     {
       mHeight = size.height;
@@ -183,7 +181,6 @@ unsigned int ResourceImage::GetHeight() const
     Size size;
     mImageFactory.GetImageSize( mRequest, mTicket, size );
     mHeight = size.height;
-    DALI_ASSERT_DEBUG( 0 == mWidth || unsigned(size.width) == mWidth );
     if( 0 == mWidth )
     {
       mWidth = size.width;