modify for review

Signed-off-by: huanghuahua <huanghuahua5@h-partners.com>
This commit is contained in:
huanghuahua 2024-11-04 20:52:49 +08:00
parent fcda942ebd
commit 62949e4abd
2 changed files with 2 additions and 3 deletions

View File

@ -16,7 +16,8 @@
#include "core/components_ng/manager/form_visible/form_visible_manager.h" #include "core/components_ng/manager/form_visible/form_visible_manager.h"
namespace OHOS::Ace::NG { namespace OHOS::Ace::NG {
void FormVisibleManager::AddFormVisibleChangeNode(const RefPtr<FrameNode>& node, const std::function<void(bool)>& callback) void FormVisibleManager::AddFormVisibleChangeNode(const RefPtr<FrameNode>& node,
const std::function<void(bool)>& callback)
{ {
CHECK_NULL_VOID(node); CHECK_NULL_VOID(node);
onFormVisibleChangeNodeIds_.emplace(node->GetId()); onFormVisibleChangeNodeIds_.emplace(node->GetId());

View File

@ -21,8 +21,6 @@
#include "core/components_ng/base/frame_node.h" #include "core/components_ng/base/frame_node.h"
namespace OHOS::Ace::NG { namespace OHOS::Ace::NG {
class FormVisibleManager : public virtual AceType { class FormVisibleManager : public virtual AceType {
DECLARE_ACE_TYPE(FormVisibleManager, AceType); DECLARE_ACE_TYPE(FormVisibleManager, AceType);
public: public: