Prohibit includes from xfa/fwl to xfa/fxfa
Removing two spurious includes allow this to happen.
Change-Id: I929a48516b86e0ee1329abd9855472fb3cc5c183
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/55171
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/xfa/fwl/cfwl_edit.cpp b/xfa/fwl/cfwl_edit.cpp
index 7d09f71..c6317d2 100644
--- a/xfa/fwl/cfwl_edit.cpp
+++ b/xfa/fwl/cfwl_edit.cpp
@@ -29,8 +29,6 @@
#include "xfa/fwl/cfwl_widgetmgr.h"
#include "xfa/fwl/ifwl_themeprovider.h"
#include "xfa/fwl/theme/cfwl_utils.h"
-#include "xfa/fxfa/cxfa_ffdoc.h"
-#include "xfa/fxfa/cxfa_ffwidget.h"
#include "xfa/fxgraphics/cxfa_gepath.h"
namespace {
diff --git a/xfa/fxfa/BUILD.gn b/xfa/fxfa/BUILD.gn
index 4f4e95f..c4b6bfb 100644
--- a/xfa/fxfa/BUILD.gn
+++ b/xfa/fxfa/BUILD.gn
@@ -117,7 +117,6 @@
]
allow_circular_includes_from = [
"../../fxjs",
- "../fwl",
"layout",
"parser",
]