| 178 | } |
| 179 | |
| 180 | void GrPluginInterface::PostWorkTask(std::function<void()>&& task) { |
| 181 | if (plugin_context_ && !stopped_) { |
| 182 | plugin_context_->PostWorkTask(std::move(task)); |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | void GrPluginInterface::PostUITask(std::function<void()>&& task) { |
| 187 | QMetaObject::invokeMethod(this, [=, this]() { |
nothing calls this directly
no outgoing calls
no test coverage detected