diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2018-11-27 16:50:34 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-11-27 16:50:34 +0000 |
commit | 9d03c64c97ff453821ab9d41ab5d3d3b986c3fe3 (patch) | |
tree | 27443ba766ae2817c21285cbfa2be2644a1eea4a /native | |
parent | feb9de64f1c91a07a063a847bcb07c33e902a059 (diff) | |
parent | 0fd02aa33dcbca0296b2fd197cb750e0d11c4925 (diff) |
Merge "Use "override" keyword instead of "virtual"."
Diffstat (limited to 'native')
-rw-r--r-- | native/webview/plat_support/draw_gl_functor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/webview/plat_support/draw_gl_functor.cpp b/native/webview/plat_support/draw_gl_functor.cpp index 7cb49da483de..e3e52b1ea1f1 100644 --- a/native/webview/plat_support/draw_gl_functor.cpp +++ b/native/webview/plat_support/draw_gl_functor.cpp @@ -42,10 +42,10 @@ AwDrawGLFunction* g_aw_drawgl_function = NULL; class DrawGLFunctor : public Functor { public: explicit DrawGLFunctor(jlong view_context) : view_context_(view_context) {} - virtual ~DrawGLFunctor() {} + ~DrawGLFunctor() override {} // Functor - virtual status_t operator ()(int what, void* data) { + status_t operator ()(int what, void* data) override { using uirenderer::DrawGlInfo; if (!g_aw_drawgl_function) { ALOGE("Cannot draw: no DrawGL Function installed"); |