Index: xfa/fwl/core/cfwl_widget.h |
diff --git a/xfa/fwl/core/cfwl_widget.h b/xfa/fwl/core/cfwl_widget.h |
index 3272e9d01199e2f0dfbfd2529ebada05cb2b8b19..15acbf53c0dd78dc0c4906f654bf053928aa655c 100644 |
--- a/xfa/fwl/core/cfwl_widget.h |
+++ b/xfa/fwl/core/cfwl_widget.h |
@@ -51,7 +51,8 @@ class CFWL_Widget : public IFWL_WidgetDelegate { |
virtual FWL_Type GetClassID() const = 0; |
virtual bool IsInstance(const CFX_WideStringC& wsClass) const; |
- virtual void GetWidgetRect(CFX_RectF& rect, bool bAutoSize); |
+ virtual CFX_RectF GetAutosizedWidgetRect(); |
+ virtual CFX_RectF GetWidgetRect(); |
virtual void GetClientRect(CFX_RectF& rect); |
virtual void ModifyStylesEx(uint32_t dwStylesExAdded, |
uint32_t dwStylesExRemoved); |