summaryrefslogtreecommitdiff
path: root/fxjs/cjx_thisproxy.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-01 18:56:07 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-01 18:56:07 +0000
commit1bc5e494b675aeb5e73cae1d0d3cfad341a05a60 (patch)
treef6b757d623c873dc981e8ed007aba6294af7bae1 /fxjs/cjx_thisproxy.cpp
parent46ad7f84cfeef009a4f5e4bc13f8b3435f789f30 (diff)
downloadpdfium-1bc5e494b675aeb5e73cae1d0d3cfad341a05a60.tar.xz
Add CJX_ThisProxy
This CL creates a CJX_ThisProxy which is created by CXFA_ThisProxy. This allows CJX_Object constructor to be protected. Change-Id: Ie6865c82c29cd1d129faa487c9021a63310c78a6 Reviewed-on: https://pdfium-review.googlesource.com/17314 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cjx_thisproxy.cpp')
-rw-r--r--fxjs/cjx_thisproxy.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/fxjs/cjx_thisproxy.cpp b/fxjs/cjx_thisproxy.cpp
new file mode 100644
index 0000000000..281bb44ede
--- /dev/null
+++ b/fxjs/cjx_thisproxy.cpp
@@ -0,0 +1,13 @@
+// Copyright 2017 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "fxjs/cjx_thisproxy.h"
+
+#include "xfa/fxfa/parser/cxfa_thisproxy.h"
+
+CJX_ThisProxy::CJX_ThisProxy(CXFA_ThisProxy* proxy) : CJX_Object(proxy) {}
+
+CJX_ThisProxy::~CJX_ThisProxy() {}