diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-25 17:33:05 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-25 17:33:05 +0000 |
commit | f036f12bdf6c6c71fc57f10efa048f4c4732c355 (patch) | |
tree | 155778ac76d527bd1281c8187fdad18ebfdf0ca1 /xfa/fxfa/cxfa_fftext.cpp | |
parent | b9ec0b31a9324a4927ab897c4f741de836321832 (diff) | |
download | pdfium-f036f12bdf6c6c71fc57f10efa048f4c4732c355.tar.xz |
Remove empty FF classes
This CL removes the empty FFDraw and FFSubForm classes and uses the
FFWidget base class directly.
Change-Id: If65ee85fda78774bb90d6fec60ca5529cc37f3e0
Reviewed-on: https://pdfium-review.googlesource.com/23971
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_fftext.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_fftext.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_fftext.cpp b/xfa/fxfa/cxfa_fftext.cpp index 702de64216..a446993520 100644 --- a/xfa/fxfa/cxfa_fftext.cpp +++ b/xfa/fxfa/cxfa_fftext.cpp @@ -10,7 +10,6 @@ #include "xfa/fwl/fwl_widgethit.h" #include "xfa/fxfa/cxfa_ffapp.h" #include "xfa/fxfa/cxfa_ffdoc.h" -#include "xfa/fxfa/cxfa_ffdraw.h" #include "xfa/fxfa/cxfa_ffpageview.h" #include "xfa/fxfa/cxfa_ffwidget.h" #include "xfa/fxfa/cxfa_linkuserdata.h" @@ -20,7 +19,7 @@ #include "xfa/fxfa/parser/cxfa_margin.h" #include "xfa/fxgraphics/cxfa_graphics.h" -CXFA_FFText::CXFA_FFText(CXFA_Node* pNode) : CXFA_FFDraw(pNode) {} +CXFA_FFText::CXFA_FFText(CXFA_Node* pNode) : CXFA_FFWidget(pNode) {} CXFA_FFText::~CXFA_FFText() {} @@ -71,7 +70,7 @@ bool CXFA_FFText::IsLoaded() { } bool CXFA_FFText::PerformLayout() { - CXFA_FFDraw::PerformLayout(); + CXFA_FFWidget::PerformLayout(); CXFA_TextLayout* pTextLayout = m_pNode->GetTextLayout(); if (!pTextLayout) return false; |