修改codestyle

Signed-off-by: qhily999 <dingminglei@huawei.com>
This commit is contained in:
dml-hw
2021-08-20 09:27:45 +00:00
committed by Gitee
parent 685607a773
commit e0d518d9da
@@ -90,7 +90,7 @@ bool ChartComponent::CreateNativeViews()
}
ReleaseJerryValue(hasTypeProp, typeStrHandler, attrsPropValue, VA_ARG_END_FLAG);
if (!strcmp(chartType_, LINE)) {
if (chartView_) {
if (chartView_ != nullptr) {
delete (chartView_);
chartView_ = nullptr;
}