Add virtual destructor to GPUSurfaceSoftwareDelegate. (flutter/engine#13918)

This commit is contained in:
Chinmay Garde 2019-11-19 10:15:34 -08:00 committed by GitHub
parent d053943e7c
commit a48601803b
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,8 @@
namespace flutter {
GPUSurfaceSoftwareDelegate::~GPUSurfaceSoftwareDelegate() = default;
ExternalViewEmbedder* GPUSurfaceSoftwareDelegate::GetExternalViewEmbedder() {
return nullptr;
}

View File

@ -26,6 +26,8 @@ namespace flutter {
///
class GPUSurfaceSoftwareDelegate {
public:
virtual ~GPUSurfaceSoftwareDelegate();
//----------------------------------------------------------------------------
/// @brief Called when the GPU surface needs a new buffer to render a new
/// frame into.