Index: xfa/src/fwl/src/core/fwl_contentimp.cpp |
diff --git a/xfa/src/fwl/src/core/fwl_contentimp.cpp b/xfa/src/fwl/src/core/fwl_contentimp.cpp |
index 32235de65b5f88357c5db7e79c2c5fcf185d5320..4d446d3498225eb10a4ac21ab2ed6e39e063e9d4 100644 |
--- a/xfa/src/fwl/src/core/fwl_contentimp.cpp |
+++ b/xfa/src/fwl/src/core/fwl_contentimp.cpp |
@@ -34,19 +34,13 @@ FWL_ERR IFWL_Content::SetMaxSize(FX_FLOAT fWidth, FX_FLOAT fHeight) { |
} |
IFWL_Content::IFWL_Content() { |
} |
-CFWL_ContentImp::CFWL_ContentImp() { |
- m_fWidthMin = 0; |
- m_fWidthMax = 10000; |
- m_fHeightMin = 0; |
- m_fHeightMax = 10000; |
-} |
-CFWL_ContentImp::CFWL_ContentImp(const CFWL_WidgetImpProperties& properties) |
- : CFWL_WidgetImp(properties) { |
- m_fWidthMin = 0; |
- m_fWidthMax = 10000; |
- m_fHeightMin = 0; |
- m_fHeightMax = 10000; |
-} |
+CFWL_ContentImp::CFWL_ContentImp(const CFWL_WidgetImpProperties& properties, |
+ IFWL_Widget* pOuter) |
+ : CFWL_WidgetImp(properties, pOuter), |
+ m_fWidthMin(0), |
+ m_fWidthMax(10000), |
+ m_fHeightMin(0), |
+ m_fHeightMax(10000) {} |
CFWL_ContentImp::~CFWL_ContentImp() {} |
FWL_ERR CFWL_ContentImp::InsertWidget(IFWL_Widget* pChild, int32_t nIndex) { |
if (!pChild) |