summaryrefslogtreecommitdiff
path: root/xfa/include
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-11-20 10:13:18 -0800
committerTom Sepez <tsepez@chromium.org>2015-11-20 10:13:18 -0800
commit5500da04e3acfa98baf9befb5d91fb787d599341 (patch)
tree8f21f3af2329daf938d8cc0f298fe22668cf1a05 /xfa/include
parent0afbad0509578a5fee6fec4394d6b3c55425cf28 (diff)
downloadpdfium-5500da04e3acfa98baf9befb5d91fb787d599341.tar.xz
Merge to XFA: Remove CFX_Matrix::Reset()
Original Review URL: https://codereview.chromium.org/1459243002 . (cherry picked from commit 6fc00fafcbac1fd5edd767fe2d4a8e4a9ef52806) R=thestig@chromium.org Review URL: https://codereview.chromium.org/1461703008 .
Diffstat (limited to 'xfa/include')
-rw-r--r--xfa/include/fwl/core/fwl_theme.h2
-rw-r--r--xfa/include/fwl/core/fwl_widget.h2
-rw-r--r--xfa/include/fwl/lightwidget/widget.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/xfa/include/fwl/core/fwl_theme.h b/xfa/include/fwl/core/fwl_theme.h
index 3dfe7c74e1..d3704c89d1 100644
--- a/xfa/include/fwl/core/fwl_theme.h
+++ b/xfa/include/fwl/core/fwl_theme.h
@@ -31,7 +31,7 @@ class CFWL_ThemePart {
CFWL_ThemePart()
: m_pWidget(NULL), m_iPart(0), m_dwStates(0), m_dwData(0), m_pData(NULL) {
m_rtPart.Reset();
- m_matrix.Reset();
+ m_matrix.SetIdentity();
}
CFX_Matrix m_matrix;
CFX_RectF m_rtPart;
diff --git a/xfa/include/fwl/core/fwl_widget.h b/xfa/include/fwl/core/fwl_widget.h
index f7ddb5cebd..acada467b4 100644
--- a/xfa/include/fwl/core/fwl_widget.h
+++ b/xfa/include/fwl/core/fwl_widget.h
@@ -70,7 +70,7 @@ class IFWL_WidgetDelegate {
class CFWL_WidgetImpProperties {
public:
CFWL_WidgetImpProperties() {
- m_ctmOnParent.Reset();
+ m_ctmOnParent.SetIdentity();
m_rtWidget.Set(0, 0, 0, 0);
m_dwStyles = FWL_WGTSTYLE_Child;
m_dwStyleExes = 0;
diff --git a/xfa/include/fwl/lightwidget/widget.h b/xfa/include/fwl/lightwidget/widget.h
index c6a7e4b80e..c597194336 100644
--- a/xfa/include/fwl/lightwidget/widget.h
+++ b/xfa/include/fwl/lightwidget/widget.h
@@ -16,7 +16,7 @@ class CFWL_WidgetDelegate;
class CFWL_WidgetProperties {
public:
CFWL_WidgetProperties() {
- m_ctmOnParent.Reset();
+ m_ctmOnParent.SetIdentity();
m_rtWidget.Set(0, 0, 0, 0);
m_dwStyles = FWL_WGTSTYLE_Child;
m_dwStyleExes = 0;