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

Unified Diff: fpdfsdk/include/javascript/color.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/app.h ('k') | fpdfsdk/include/javascript/console.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/include/javascript/color.h
diff --git a/fpdfsdk/include/javascript/color.h b/fpdfsdk/include/javascript/color.h
index 45704efa803cbba215c929292fa1b92b9ab1f84b..cabd770ee848430d5ead3c9c062de1df6df4ddf7 100644
--- a/fpdfsdk/include/javascript/color.h
+++ b/fpdfsdk/include/javascript/color.h
@@ -13,7 +13,7 @@
class color : public CJS_EmbedObj {
public:
color(CJS_Object* pJSObject);
- virtual ~color(void);
+ ~color() override;
FX_BOOL black(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
FX_BOOL blue(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
@@ -60,8 +60,8 @@ class color : public CJS_EmbedObj {
class CJS_Color : public CJS_Object {
public:
- CJS_Color(JSFXObject pObject) : CJS_Object(pObject){};
- virtual ~CJS_Color(void){};
+ CJS_Color(JSFXObject pObject) : CJS_Object(pObject) {}
+ ~CJS_Color() override {}
DECLARE_JS_CLASS(CJS_Color);
« no previous file with comments | « fpdfsdk/include/javascript/app.h ('k') | fpdfsdk/include/javascript/console.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698