Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Unified Diff: xfa/src/fgas/src/layout/fx_rtfbreak.h

Issue 1573893002: Fix an assertion failure in CFX_RTFBreak::SetLineWidth() (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: nit Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/src/fgas/include/fx_rbk.h ('k') | xfa/src/fgas/src/layout/fx_rtfbreak.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fgas/src/layout/fx_rtfbreak.h
diff --git a/xfa/src/fgas/src/layout/fx_rtfbreak.h b/xfa/src/fgas/src/layout/fx_rtfbreak.h
index e54e3dbbe2aee57cfc8e09dd56a08ddde402cb14..2598ad3f301d55b2727a474623bd9b2d256b71e1 100644
--- a/xfa/src/fgas/src/layout/fx_rtfbreak.h
+++ b/xfa/src/fgas/src/layout/fx_rtfbreak.h
@@ -67,8 +67,8 @@ class CFX_RTFBreak : public IFX_RTFBreak {
CFX_RTFBreak(FX_DWORD dwPolicies);
~CFX_RTFBreak();
virtual void Release() { delete this; }
- virtual void SetLineWidth(FX_FLOAT fLineStart, FX_FLOAT fLineEnd);
- virtual void SetLinePos(FX_FLOAT fLinePos);
+ void SetLineBoundary(FX_FLOAT fLineStart, FX_FLOAT fLineEnd) override final;
+ void SetLineStartPos(FX_FLOAT fLinePos) override final;
virtual FX_DWORD GetLayoutStyles() const { return m_dwLayoutStyles; }
virtual void SetLayoutStyles(FX_DWORD dwLayoutStyles);
virtual void SetFont(IFX_Font* pFont);
@@ -114,8 +114,8 @@ class CFX_RTFBreak : public IFX_RTFBreak {
protected:
FX_DWORD m_dwPolicies;
IFX_ArabicChar* m_pArabicChar;
- int32_t m_iLineStart;
- int32_t m_iLineEnd;
+ int32_t m_iBoundaryStart;
+ int32_t m_iBoundaryEnd;
FX_DWORD m_dwLayoutStyles;
FX_BOOL m_bPagination;
FX_BOOL m_bVertical;
« no previous file with comments | « xfa/src/fgas/include/fx_rbk.h ('k') | xfa/src/fgas/src/layout/fx_rtfbreak.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698