summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_object.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-07-30 21:50:07 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-30 21:50:07 +0000
commit87c1fdcc9a5669e29c4440e2b220587de7134e7a (patch)
treecf890e10d6233205505a0d89eae13b3bd0deba14 /fxjs/xfa/cjx_object.h
parent649e059f5fe93c0de53aaa48a74068703df46301 (diff)
downloadpdfium-87c1fdcc9a5669e29c4440e2b220587de7134e7a.tar.xz
Don't static_cast<>(this) to subclass in CXFA_LayoutItem methods.chromium/3508
Instead, move the methods to the subclass where they belong. Fix IWYU in CJX_Object.h to fix compilation. Change-Id: I4c71f28235b9cf5000e9ddaf33d6602baf22205f Reviewed-on: https://pdfium-review.googlesource.com/39170 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxjs/xfa/cjx_object.h')
-rw-r--r--fxjs/xfa/cjx_object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fxjs/xfa/cjx_object.h b/fxjs/xfa/cjx_object.h
index 5b57cbe6e7..c9042b5049 100644
--- a/fxjs/xfa/cjx_object.h
+++ b/fxjs/xfa/cjx_object.h
@@ -19,6 +19,7 @@
#include "third_party/base/optional.h"
#include "third_party/base/span.h"
#include "xfa/fxfa/fxfa_basic.h"
+#include "xfa/fxfa/parser/cxfa_measurement.h"
class CFXJSE_Value;
class CFX_V8;