From: hyunho Date: Wed, 21 Aug 2019 02:30:53 +0000 (+0900) Subject: Modify base_frame_create_window API validation X-Git-Tag: submit/tizen/20190830.041902~5^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=992f6c57aaff9bf2d18dff1266b5854c441f056b;p=platform%2Fcore%2Fappfw%2Fcomponent-based-application.git Modify base_frame_create_window API validation Some frame components do not want to share it's raw handle. ex) C# frame components Change-Id: I2624ea0e98a13cd6b1dab0e4d47629579b06a233 Signed-off-by: hyunho --- diff --git a/component_based/base/stub.cc b/component_based/base/stub.cc index 8e2690a..78ce7fb 100644 --- a/component_based/base/stub.cc +++ b/component_based/base/stub.cc @@ -508,7 +508,7 @@ class StubServiceComponent : public component_based::ServiceComponent { extern "C" EXPORT_API int base_frame_create_window(frame_window_h* handle, int id, void* raw) { - if (handle == nullptr || raw == nullptr) { + if (handle == nullptr) { LOGE("Invalid parameter"); return COMPONENT_ERROR_INVALID_PARAMETER; }