summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/JS_Runtime.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-10-08 12:03:00 -0700
committerTom Sepez <tsepez@chromium.org>2015-10-08 12:03:00 -0700
commitba038bc14bfeb4d011d57f388871f7f14c4c3c22 (patch)
tree2786d0c3d7c56492c09f9c01e4eae090023c4040 /fpdfsdk/src/javascript/JS_Runtime.h
parent4d4a442aa413cdf5e114c4e432ae930bc9d9e0f1 (diff)
downloadpdfium-ba038bc14bfeb4d011d57f388871f7f14c4c3c22.tar.xz
Merge to XFA: Rename IFXJS_Runtime and IFXJS_Context to IJS_.
Merge conflicts in: fpdfsdk/src/javascript/Document.cpp fpdfsdk/src/javascript/JS_Define.h New code in: fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp (cherry picked from commit 213a172779fddbd7e588ee2e2b3906ccc47d6896) Original Review URL: https://codereview.chromium.org/1386173002 . R=thestig@chromium.org Review URL: https://codereview.chromium.org/1395713002 .
Diffstat (limited to 'fpdfsdk/src/javascript/JS_Runtime.h')
-rw-r--r--fpdfsdk/src/javascript/JS_Runtime.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/src/javascript/JS_Runtime.h b/fpdfsdk/src/javascript/JS_Runtime.h
index 1034ae8c8b..86e425ebe8 100644
--- a/fpdfsdk/src/javascript/JS_Runtime.h
+++ b/fpdfsdk/src/javascript/JS_Runtime.h
@@ -17,7 +17,7 @@
class CJS_Context;
-class CJS_Runtime : public IFXJS_Runtime {
+class CJS_Runtime : public IJS_Runtime {
public:
class Observer {
public:
@@ -32,10 +32,10 @@ class CJS_Runtime : public IFXJS_Runtime {
explicit CJS_Runtime(CPDFDoc_Environment* pApp);
~CJS_Runtime() override;
- // IFXJS_Runtime
- IFXJS_Context* NewContext() override;
- void ReleaseContext(IFXJS_Context* pContext) override;
- IFXJS_Context* GetCurrentContext() override;
+ // IJS_Runtime
+ IJS_Context* NewContext() override;
+ void ReleaseContext(IJS_Context* pContext) override;
+ IJS_Context* GetCurrentContext() override;
void SetReaderDocument(CPDFSDK_Document* pReaderDoc) override;
CPDFSDK_Document* GetReaderDocument() override { return m_pDocument; }