Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Unified Diff: ui/ozone/platform/egltest/ozone_platform_egltest.cc

Issue 808333004: virtual/override specifier cleanup in ui/ (mostly Ozone code). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_surface_ozone.cc ('k') | ui/ozone/public/input_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « ui/gl/gl_surface_ozone.cc ('k') | ui/ozone/public/input_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698