From: minho.sun Date: Mon, 14 Aug 2017 07:49:34 +0000 (+0900) Subject: Revert "[Tizen] fix crash: HasBody() null reference" X-Git-Tag: preview1-00180^2~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd27892b064f1492707bed17c941552ef44cf243;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Revert "[Tizen] fix crash: HasBody() null reference" This reverts commit 8746d5ba167450d56c367faca65bb5d34d549661. Change-Id: I3bac7673295aaf156a4fb44f3e742e91203564bc --- diff --git a/src/Tizen.NUI/src/public/BaseHandle.cs b/src/Tizen.NUI/src/public/BaseHandle.cs index 0f03701..3088fb7 100755 --- a/src/Tizen.NUI/src/public/BaseHandle.cs +++ b/src/Tizen.NUI/src/public/BaseHandle.cs @@ -324,11 +324,6 @@ namespace Tizen.NUI public bool HasBody() { - if (disposed == true) - { - return false; - } - bool ret = NDalicPINVOKE.BaseHandle_HasBody(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; @@ -336,11 +331,6 @@ namespace Tizen.NUI public bool IsEqual(BaseHandle rhs) { - if (disposed == true) - { - return false; - } - bool ret = NDalicPINVOKE.BaseHandle_IsEqual(swigCPtr, BaseHandle.getCPtr(rhs)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret;