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

Unified Diff: fpdfsdk/include/javascript/event.h

Issue 1287193005: Use override in more classes in fpdfsdk/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: nits, rebase Created 5 years, 4 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 | « fpdfsdk/include/javascript/console.h ('k') | fpdfsdk/include/javascript/global.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/include/javascript/event.h
diff --git a/fpdfsdk/include/javascript/event.h b/fpdfsdk/include/javascript/event.h
index c7c899e69de1677dc5e9a77b48f0d14077e31e56..e48a659fc74ea08a9b18e51cb31fe5629463cba3 100644
--- a/fpdfsdk/include/javascript/event.h
+++ b/fpdfsdk/include/javascript/event.h
@@ -12,7 +12,7 @@
class event : public CJS_EmbedObj {
public:
event(CJS_Object* pJSObject);
- virtual ~event(void);
+ ~event() override;
public:
FX_BOOL change(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
@@ -59,8 +59,8 @@ class event : public CJS_EmbedObj {
class CJS_Event : public CJS_Object {
public:
- CJS_Event(JSFXObject pObject) : CJS_Object(pObject){};
- virtual ~CJS_Event(void){};
+ CJS_Event(JSFXObject pObject) : CJS_Object(pObject) {}
+ ~CJS_Event() override {}
DECLARE_JS_CLASS(CJS_Event);
« no previous file with comments | « fpdfsdk/include/javascript/console.h ('k') | fpdfsdk/include/javascript/global.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698