Index: core/src/fpdfdoc/doc_formcontrol.cpp |
diff --git a/core/src/fpdfdoc/doc_formcontrol.cpp b/core/src/fpdfdoc/doc_formcontrol.cpp |
index db7cf37fdb5e659de981fd1a55777d5246ca9978..410f9a1f21aa6ff679e7843eddf47baba8ba13f0 100644 |
--- a/core/src/fpdfdoc/doc_formcontrol.cpp |
+++ b/core/src/fpdfdoc/doc_formcontrol.cpp |
@@ -11,7 +11,7 @@ CPDF_FormControl::CPDF_FormControl(CPDF_FormField* pField, |
m_pWidgetDict = pWidgetDict; |
m_pForm = m_pField->m_pForm; |
} |
-CFX_FloatRect CPDF_FormControl::GetRect() { |
+CFX_FloatRect CPDF_FormControl::GetRect() const { |
return m_pWidgetDict->GetRect("Rect"); |
} |
CFX_ByteString CPDF_FormControl::GetOnStateName() { |