Implement AXPlatformNodeBase::GetInstanceCountForTesting (flutter/engine#24999)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user