| Index: ui/ozone/platform/egltest/ozone_platform_egltest.cc
|
| diff --git a/ui/ozone/platform/egltest/ozone_platform_egltest.cc b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
|
| index 4403635476023c0478c925a4d7166b2304f02110..464e4ef0323cb9718fb791d10812d757b2e1bb20 100644
|
| --- a/ui/ozone/platform/egltest/ozone_platform_egltest.cc
|
| +++ b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
|
| @@ -200,7 +200,7 @@ class SurfaceOzoneEgltest : public SurfaceOzoneEGL {
|
| : eglplatform_shim_(eglplatform_shim) {
|
| native_window_ = eglplatform_shim_->ShimGetNativeWindow(window_id);
|
| }
|
| - ~SurfaceOzoneEgltest() {
|
| + ~SurfaceOzoneEgltest() override {
|
| bool ret = eglplatform_shim_->ShimReleaseNativeWindow(native_window_);
|
| DCHECK(ret);
|
| }
|
| @@ -292,7 +292,7 @@ const int32* SurfaceFactoryEgltest::GetEGLSurfaceProperties(
|
| class OzonePlatformEgltest : public OzonePlatform {
|
| public:
|
| OzonePlatformEgltest() : shim_initialized_(false) {}
|
| - virtual ~OzonePlatformEgltest() {
|
| + ~OzonePlatformEgltest() override {
|
| if (shim_initialized_)
|
| eglplatform_shim_.ShimTerminate();
|
| }
|
|
|