diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-06-11 17:08:07 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-11 17:08:07 +0000 |
commit | 88398a4286dd2bd228d79fb0f3296b9f79cbe4a9 (patch) | |
tree | f38d621f227537f064234a6f38e1336763ec1354 /fxjs/xfa/cjx_layoutpseudomodel.cpp | |
parent | 8b4ddebff061b199f14684f17cac8915bade8fb2 (diff) | |
download | pdfium-88398a4286dd2bd228d79fb0f3296b9f79cbe4a9.tar.xz |
Use spans in CJX_Object.
Avoid explicitly finding array sizes.
Change-Id: Id51e3d10ea4db0a6375807a53309ce8d68b3b413
Reviewed-on: https://pdfium-review.googlesource.com/34750
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/xfa/cjx_layoutpseudomodel.cpp')
-rw-r--r-- | fxjs/xfa/cjx_layoutpseudomodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/xfa/cjx_layoutpseudomodel.cpp b/fxjs/xfa/cjx_layoutpseudomodel.cpp index 0ae4871d09..a5dcf98b00 100644 --- a/fxjs/xfa/cjx_layoutpseudomodel.cpp +++ b/fxjs/xfa/cjx_layoutpseudomodel.cpp @@ -48,7 +48,7 @@ const CJX_MethodSpec CJX_LayoutPseudoModel::MethodSpecs[] = { CJX_LayoutPseudoModel::CJX_LayoutPseudoModel(CScript_LayoutPseudoModel* model) : CJX_Object(model) { - DefineMethods(MethodSpecs, FX_ArraySize(MethodSpecs)); + DefineMethods(MethodSpecs); } CJX_LayoutPseudoModel::~CJX_LayoutPseudoModel() {} |