| 380 | } |
| 381 | |
| 382 | GrPluginInterface* GrPluginInterface::GetPluginById(const std::string& plugin_id) { |
| 383 | for (const auto& [id, plugin] : total_plugins_) { |
| 384 | if (plugin_id == plugin->GetPluginId()) { |
| 385 | return plugin; |
| 386 | } |
| 387 | } |
| 388 | return nullptr; |
| 389 | } |
| 390 | |
| 391 | } |
nothing calls this directly
no test coverage detected