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

Unified Diff: xfa/src/fwl/src/theme/checkboxtp.cpp

Issue 1519693002: Merge to XFA: Remove CFX_AffineMatrix/CPDF_Matrix (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: XFA-specific changes Created 5 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/src/fwl/src/theme/checkboxtp.cpp
diff --git a/xfa/src/fwl/src/theme/checkboxtp.cpp b/xfa/src/fwl/src/theme/checkboxtp.cpp
index a88fe11ec33bdb9a9eda42472d09ebcc152ceb0c..7fc0d1e41c4d58d8ffd45f0ad4fcfe6e84e9d1e9 100644
--- a/xfa/src/fwl/src/theme/checkboxtp.cpp
+++ b/xfa/src/fwl/src/theme/checkboxtp.cpp
@@ -533,7 +533,7 @@ void CFWL_CheckBoxTP::initCheckPath(FX_FLOAT fCheckLen) {
pt1.x + px2 * FWLTHEME_BEZIER,
pt1.y + py2 * FWLTHEME_BEZIER, pt1.x, pt1.y);
FX_FLOAT fScale = fCheckLen / CHECKBOX_SIZE_SIGNPATH;
- CFX_AffineMatrix mt;
+ CFX_Matrix mt;
mt.Set(1, 0, 0, 1, 0, 0);
mt.Scale(fScale, fScale);
CFX_PathData* pData = m_pCheckPath->GetPathData();

Powered by Google App Engine
This is Rietveld 408576698