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

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

Issue 1288393004: Merge to XFA: Use override in more classes in fpdfsdk/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: self review 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/JS_Object.h ('k') | fpdfsdk/include/javascript/PublicMethods.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/include/javascript/JS_Runtime.h
diff --git a/fpdfsdk/include/javascript/JS_Runtime.h b/fpdfsdk/include/javascript/JS_Runtime.h
index 1e9f3a97aca672e355722c66afe537e6bb49bc3c..2e397ea1ef67d1466e3251c0d1c8c27aa4b2f6d0 100644
--- a/fpdfsdk/include/javascript/JS_Runtime.h
+++ b/fpdfsdk/include/javascript/JS_Runtime.h
@@ -31,14 +31,14 @@ class CJS_FieldEvent {
class CJS_Runtime : public IFXJS_Runtime {
public:
CJS_Runtime(CPDFDoc_Environment* pApp);
- virtual ~CJS_Runtime();
-
- virtual IFXJS_Context* NewContext();
- virtual void ReleaseContext(IFXJS_Context* pContext);
- virtual IFXJS_Context* GetCurrentContext();
-
- virtual void SetReaderDocument(CPDFSDK_Document* pReaderDoc);
- virtual CPDFSDK_Document* GetReaderDocument() { return m_pDocument; }
+ ~CJS_Runtime() override;
+
+ // IFXJS_Runtime
+ IFXJS_Context* NewContext() override;
+ void ReleaseContext(IFXJS_Context* pContext) override;
+ IFXJS_Context* GetCurrentContext() override;
+ void SetReaderDocument(CPDFSDK_Document* pReaderDoc) override;
+ CPDFSDK_Document* GetReaderDocument() override { return m_pDocument; }
CPDFDoc_Environment* GetReaderApp() { return m_pApp; }
« no previous file with comments | « fpdfsdk/include/javascript/JS_Object.h ('k') | fpdfsdk/include/javascript/PublicMethods.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698