From: Seungho, Baek Date: Mon, 25 May 2020 02:41:52 +0000 (+0900) Subject: Remove Assert when NativeImageSource is reset X-Git-Tag: dali_1.9.14~2^2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=commitdiff_plain;h=6f7af1555ff407e987abde5c0a0b450552befd41;hp=97f8e6db4960df24200a7732d0c020ef1605ce8b Remove Assert when NativeImageSource is reset Change-Id: Icd5f4dd5e215a3d1fd3c3eaf8d980baaeb46822d Signed-off-by: Seungho, Baek --- diff --git a/dali/internal/system/common/capture-impl.cpp b/dali/internal/system/common/capture-impl.cpp index 253a3fd..2836fb3 100644 --- a/dali/internal/system/common/capture-impl.cpp +++ b/dali/internal/system/common/capture-impl.cpp @@ -109,8 +109,6 @@ void Capture::Start( Dali::Actor source, const Dali::Vector2& size, const std::s Dali::NativeImageSourcePtr Capture::GetNativeImageSource() const { - DALI_ASSERT_ALWAYS( mNativeImageSourcePtr && "mNativeImageSourcePtr is NULL."); - return mNativeImageSourcePtr; } @@ -133,8 +131,6 @@ void Capture::CreateNativeImageSource( const Vector2& size ) void Capture::DeleteNativeImageSource() { - DALI_ASSERT_ALWAYS(mNativeImageSourcePtr && "mNativeImageSource is NULL."); - mNativeImageSourcePtr.Reset(); }