Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(516)

Unified Diff: core/fpdfdoc/cpdf_variabletext.cpp

Issue 2060913003: Make code compile with clang_use_chrome_plugin (part II) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fpdfdoc/clines.cpp ('k') | core/fpdfdoc/csection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfdoc/cpdf_variabletext.cpp
diff --git a/core/fpdfdoc/cpdf_variabletext.cpp b/core/fpdfdoc/cpdf_variabletext.cpp
index 1d5fde289dd06f29744e52071d6baa8515bd88b9..010d426cf2478570ba2f7663cd40f5302aaf5eb9 100644
--- a/core/fpdfdoc/cpdf_variabletext.cpp
+++ b/core/fpdfdoc/cpdf_variabletext.cpp
@@ -787,10 +787,18 @@ FX_BOOL CPDF_VariableText::GetSectionInfo(const CPVT_WordPlace& place,
return FALSE;
}
+void CPDF_VariableText::SetPlateRect(const CFX_FloatRect& rect) {
+ CPDF_EditContainer::SetPlateRect(rect);
+}
+
CFX_FloatRect CPDF_VariableText::GetContentRect() const {
return InToOut(CPVT_FloatRect(CPDF_EditContainer::GetContentRect()));
}
+const CFX_FloatRect& CPDF_VariableText::GetPlateRect() const {
+ return CPDF_EditContainer::GetPlateRect();
+}
+
FX_FLOAT CPDF_VariableText::GetWordFontSize(const CPVT_WordInfo& WordInfo,
FX_BOOL bFactFontSize) {
return m_bRichText && WordInfo.pWordProps
« no previous file with comments | « core/fpdfdoc/clines.cpp ('k') | core/fpdfdoc/csection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698