From 235818f45eda6fd47114c076bfa818b2ef3ba894 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 31 Aug 2017 14:26:25 -0400 Subject: 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 Reviewed-by: Tom Sepez --- xfa/fgas/layout/cfx_rtfbreak.cpp | 1 + xfa/fgas/layout/cfx_txtbreak.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'xfa') 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 #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 #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" -- cgit v1.2.3