Implement AXPlatformNodeBase::GetInstanceCountForTesting (flutter/engine#24999)

This commit is contained in:
George Wright
2021-03-15 16:13:02 -07:00
committed by GitHub
parent f229eff91d
commit fbcf0800f1

View File

@@ -71,6 +71,11 @@ AXPlatformNode* AXPlatformNodeBase::GetFromUniqueId(int32_t unique_id) {
return nullptr;
}
// static
size_t AXPlatformNodeBase::GetInstanceCountForTesting() {
return g_unique_id_map.size();
}
AXPlatformNodeBase::AXPlatformNodeBase() = default;
AXPlatformNodeBase::~AXPlatformNodeBase() = default;