summaryrefslogtreecommitdiff
path: root/core/fxcrt/css/cfx_css.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/css/cfx_css.h')
-rw-r--r--core/fxcrt/css/cfx_css.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/fxcrt/css/cfx_css.h b/core/fxcrt/css/cfx_css.h
index e9ff722d08..5b70d0b2e1 100644
--- a/core/fxcrt/css/cfx_css.h
+++ b/core/fxcrt/css/cfx_css.h
@@ -186,8 +186,6 @@ class CFX_CSSLength {
public:
CFX_CSSLength() {}
- explicit CFX_CSSLength(CFX_CSSLengthUnit eUnit) : m_unit(eUnit) {}
-
CFX_CSSLength(CFX_CSSLengthUnit eUnit, float fValue)
: m_unit(eUnit), m_fValue(fValue) {}
@@ -237,7 +235,10 @@ class CFX_CSSRect {
return *this;
}
- CFX_CSSLength left, top, right, bottom;
+ CFX_CSSLength left;
+ CFX_CSSLength top;
+ CFX_CSSLength right;
+ CFX_CSSLength bottom;
};
#endif // CORE_FXCRT_CSS_CFX_CSS_H_