Merge to XFA: Use stdint.h types throughout PDFium.
[pdfium.git] / xfa / src / fwl / src / lightwidget / widget.cpp
index f080d69..6171eec 100644 (file)
@@ -302,7 +302,7 @@ void CFWL_Widget::DispatchEvent(CFWL_Event *pEvent)
 #define FWL_WGT_CalcHeight                             2048\r
 #define FWL_WGT_CalcWidth                              2048\r
 #define FWL_WGT_CalcMultiLineDefWidth  120.0f\r
-CFX_SizeF CFWL_Widget::CalcTextSize(const CFX_WideString &wsText, FX_BOOL bMultiLine , FX_INT32 iLineWidth )\r
+CFX_SizeF CFWL_Widget::CalcTextSize(const CFX_WideString &wsText, FX_BOOL bMultiLine , int32_t iLineWidth )\r
 {\r
     CFX_SizeF sz;\r
     sz.Set(0, 0);\r
@@ -330,7 +330,7 @@ CFWL_WidgetDelegate::CFWL_WidgetDelegate()
 CFWL_WidgetDelegate::~CFWL_WidgetDelegate()\r
 {\r
 }\r
-FX_INT32 CFWL_WidgetDelegate::OnProcessMessage(CFWL_Message *pMessage)\r
+int32_t CFWL_WidgetDelegate::OnProcessMessage(CFWL_Message *pMessage)\r
 {\r
     return 1;\r
 }\r