| 168 | } |
| 169 | |
| 170 | bool GrPluginInterface::OnDestroy() { |
| 171 | if (root_widget_) { |
| 172 | root_widget_->hide(); |
| 173 | root_widget_->close(); |
| 174 | } |
| 175 | plugin_context_->OnDestroy(); |
| 176 | destroyed_ = true; |
| 177 | return true; |
| 178 | } |
| 179 | |
| 180 | void GrPluginInterface::PostWorkTask(std::function<void()>&& task) { |
| 181 | if (plugin_context_ && !stopped_) { |
nothing calls this directly
no outgoing calls
no test coverage detected