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

Unified Diff: xfa/fxfa/app/xfa_fffield.cpp

Issue 2533623002: Cleanup default FWL params part I (Closed)
Patch Set: Rebase to master Created 4 years 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
Index: xfa/fxfa/app/xfa_fffield.cpp
diff --git a/xfa/fxfa/app/xfa_fffield.cpp b/xfa/fxfa/app/xfa_fffield.cpp
index 43efb5ee90078e7591b6c6f14acd0f30cfe13698..f4dc2cc908ab214c22549da48469523fac6d3553 100644
--- a/xfa/fxfa/app/xfa_fffield.cpp
+++ b/xfa/fxfa/app/xfa_fffield.cpp
@@ -70,7 +70,7 @@ void CXFA_FFField::RenderWidget(CFX_Graphics* pGS,
RenderCaption(pGS, &mtRotate);
DrawHighlight(pGS, &mtRotate, dwStatus, false);
CFX_RectF rtWidget;
- m_pNormalWidget->GetWidgetRect(rtWidget);
+ m_pNormalWidget->GetWidgetRect(rtWidget, false);
CFX_Matrix mt;
mt.Set(1, 0, 0, 1, rtWidget.left, rtWidget.top);
mt.Concat(mtRotate);
@@ -371,7 +371,7 @@ void CXFA_FFField::FWLToClient(FX_FLOAT& fx, FX_FLOAT& fy) {
return;
}
CFX_RectF rtWidget;
- m_pNormalWidget->GetWidgetRect(rtWidget);
+ m_pNormalWidget->GetWidgetRect(rtWidget, false);
fx -= rtWidget.left;
fy -= rtWidget.top;
}
@@ -613,7 +613,7 @@ bool CXFA_FFField::PtInActiveRect(FX_FLOAT fx, FX_FLOAT fy) {
return false;
}
CFX_RectF rtWidget;
- m_pNormalWidget->GetWidgetRect(rtWidget);
+ m_pNormalWidget->GetWidgetRect(rtWidget, false);
if (rtWidget.Contains(fx, fy)) {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698