diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-08-31 14:26:25 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-31 18:46:24 +0000 |
commit | 235818f45eda6fd47114c076bfa818b2ef3ba894 (patch) | |
tree | d83d4160bc27048fd53778364a2917496855e948 /xfa/fgas | |
parent | f8763bb449273667ef5ff11a0fa491e3e8b46136 (diff) | |
download | pdfium-235818f45eda6fd47114c076bfa818b2ef3ba894.tar.xz |
Move bidi code to fx_bidi
This CL moves the BIDI code from fx_arabic to fx_bidi and conditionally
compiles based on XFA.
Change-Id: Iaba60486f03e48f0816d60e365a58a8622bc8254
Reviewed-on: https://pdfium-review.googlesource.com/12713
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fgas')
-rw-r--r-- | xfa/fgas/layout/cfx_rtfbreak.cpp | 1 | ||||
-rw-r--r-- | xfa/fgas/layout/cfx_txtbreak.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/xfa/fgas/layout/cfx_rtfbreak.cpp b/xfa/fgas/layout/cfx_rtfbreak.cpp index 45acae5bc4..a097361d95 100644 --- a/xfa/fgas/layout/cfx_rtfbreak.cpp +++ b/xfa/fgas/layout/cfx_rtfbreak.cpp @@ -9,6 +9,7 @@ #include <algorithm> #include "core/fxcrt/fx_arabic.h" +#include "core/fxcrt/fx_bidi.h" #include "third_party/base/stl_util.h" #include "xfa/fgas/font/cfgas_gefont.h" #include "xfa/fgas/layout/cfx_linebreak.h" diff --git a/xfa/fgas/layout/cfx_txtbreak.cpp b/xfa/fgas/layout/cfx_txtbreak.cpp index 42365af127..3ba7640904 100644 --- a/xfa/fgas/layout/cfx_txtbreak.cpp +++ b/xfa/fgas/layout/cfx_txtbreak.cpp @@ -9,6 +9,7 @@ #include <algorithm> #include "core/fxcrt/fx_arabic.h" +#include "core/fxcrt/fx_bidi.h" #include "core/fxcrt/fx_memory.h" #include "third_party/base/ptr_util.h" #include "xfa/fde/cfde_texteditengine.h" |