From 2d283f04b794847ef5543c2b7b42938c8420ae20 Mon Sep 17 00:00:00 2001 From: "Seungho, Baek" Date: Mon, 25 May 2020 11:41:52 +0900 Subject: [PATCH] Remove Assert when NativeImageSource is reset Change-Id: Icd5f4dd5e215a3d1fd3c3eaf8d980baaeb46822d Signed-off-by: Seungho, Baek --- dali/internal/system/common/capture-impl.cpp | 4 ---- 1 file changed, 4 deletions(-) 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(); } -- 2.7.4