Index: core/fpdfdoc/include/cpdf_formcontrol.h |
diff --git a/core/fpdfdoc/include/cpdf_formcontrol.h b/core/fpdfdoc/include/cpdf_formcontrol.h |
index cf246bd8781989810eaa3d7f3d1e484319561f98..c73318f49e3d71af4e9ba519c1b0106a1bb2f2f5 100644 |
--- a/core/fpdfdoc/include/cpdf_formcontrol.h |
+++ b/core/fpdfdoc/include/cpdf_formcontrol.h |
@@ -50,7 +50,7 @@ class CPDF_FormControl { |
CPDF_InterForm* GetInterForm() const { return m_pForm; } |
CPDF_FormField* GetField() const { return m_pField; } |
CPDF_Dictionary* GetWidget() const { return m_pWidgetDict; } |
- CFX_FloatRect GetRect() const { return m_pWidgetDict->GetRectBy("Rect"); } |
+ CFX_FloatRect GetRect() const { return m_pWidgetDict->GetRectFor("Rect"); } |
void DrawControl(CFX_RenderDevice* pDevice, |
CFX_Matrix* pMatrix, |