summaryrefslogtreecommitdiff
path: root/xfa/src/fdp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-22 12:30:58 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-22 12:30:58 -0800
commita846215ad29b75670d9db4cb9225de9f1e6979b8 (patch)
tree19044f71e7ddf3b10a0fe31df0340f68bff515b5 /xfa/src/fdp
parentd6b15fc92cb30cfc346fe28379d0aa8a24cbf601 (diff)
downloadpdfium-a846215ad29b75670d9db4cb9225de9f1e6979b8.tar.xz
Remove unused stuff from fx_sys.h
Move FX_DOUBLE to fx_system.h to keep it with the others until we remove it. Having one memset/cpy wrapper is dubious, two are worse. R=dsinclair@chromium.org Review URL: https://codereview.chromium.org/1724523002 .
Diffstat (limited to 'xfa/src/fdp')
-rw-r--r--xfa/src/fdp/src/css/fde_cssstyleselector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/src/fdp/src/css/fde_cssstyleselector.h b/xfa/src/fdp/src/css/fde_cssstyleselector.h
index 4814a9c818..92e58f5ba1 100644
--- a/xfa/src/fdp/src/css/fde_cssstyleselector.h
+++ b/xfa/src/fdp/src/css/fde_cssstyleselector.h
@@ -179,7 +179,7 @@ class CFDE_CSSStyleSelector : public IFDE_CSSStyleSelector, public CFX_Target {
};
typedef struct _FDE_CSSCOUNTERDATA {
public:
- _FDE_CSSCOUNTERDATA() { FX_memset(this, 0, sizeof(_FDE_CSSCOUNTERDATA)); }
+ _FDE_CSSCOUNTERDATA() { FXSYS_memset(this, 0, sizeof(_FDE_CSSCOUNTERDATA)); }
FX_BOOL GetCounterIncrement(int32_t& iValue) {
iValue = m_iIncVal;
return m_bIncrement;
@@ -234,7 +234,7 @@ class CFDE_CSSCounterStyle {
class CFDE_CSSInheritedData {
public:
void Reset() {
- FX_memset(this, 0, sizeof(CFDE_CSSInheritedData));
+ FXSYS_memset(this, 0, sizeof(CFDE_CSSInheritedData));
m_LetterSpacing.Set(FDE_CSSLENGTHUNIT_Normal);
m_WordSpacing.Set(FDE_CSSLENGTHUNIT_Normal);
m_TextIndent.Set(FDE_CSSLENGTHUNIT_Point, 0);
@@ -283,7 +283,7 @@ class CFDE_CSSInheritedData {
class CFDE_CSSNonInheritedData {
public:
void Reset() {
- FX_memset(this, 0, sizeof(CFDE_CSSNonInheritedData));
+ FXSYS_memset(this, 0, sizeof(CFDE_CSSNonInheritedData));
m_MarginWidth = m_BorderWidth =
m_PaddingWidth.Set(FDE_CSSLENGTHUNIT_Point, 0);
m_MinBoxSize.Set(FDE_CSSLENGTHUNIT_Point, 0);