summaryrefslogtreecommitdiff
path: root/xfa/fwl
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-05-02 13:31:10 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-02 13:31:10 -0700
commitfbe14b97f00b866e69e0970881550f6d6d9465cd (patch)
tree11efcdd726ae53f2d6d8ed1b5bc805005d92d35f /xfa/fwl
parenta354eb517429e10d84abff65e455f0c183fe58e0 (diff)
downloadpdfium-fbe14b97f00b866e69e0970881550f6d6d9465cd.tar.xz
Fix lint bugs.
Also fix typos and overrides. Review-Url: https://codereview.chromium.org/1935793002
Diffstat (limited to 'xfa/fwl')
-rw-r--r--xfa/fwl/basewidget/fxmath_barcodeimp.cpp4
-rw-r--r--xfa/fwl/basewidget/fxmath_barcodeimp.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fwl/basewidget/fxmath_barcodeimp.cpp b/xfa/fwl/basewidget/fxmath_barcodeimp.cpp
index 5efd1621c8..1d3af697b1 100644
--- a/xfa/fwl/basewidget/fxmath_barcodeimp.cpp
+++ b/xfa/fwl/basewidget/fxmath_barcodeimp.cpp
@@ -338,12 +338,12 @@ FX_BOOL CFX_Barcode::Encode(const CFX_WideStringC& contents,
return m_pBCEngine->Encode(contents, isDevice, e);
}
FX_BOOL CFX_Barcode::RenderDevice(CFX_RenderDevice* device,
- const CFX_Matrix* matirx,
+ const CFX_Matrix* matrix,
int32_t& e) {
if (!m_pBCEngine) {
return FALSE;
}
- return m_pBCEngine->RenderDevice(device, matirx, e);
+ return m_pBCEngine->RenderDevice(device, matrix, e);
}
FX_BOOL CFX_Barcode::RenderBitmap(CFX_DIBitmap*& pOutBitmap, int32_t& e) {
if (!m_pBCEngine) {
diff --git a/xfa/fwl/basewidget/fxmath_barcodeimp.h b/xfa/fwl/basewidget/fxmath_barcodeimp.h
index b52e900f90..eca41d05a6 100644
--- a/xfa/fwl/basewidget/fxmath_barcodeimp.h
+++ b/xfa/fwl/basewidget/fxmath_barcodeimp.h
@@ -28,7 +28,7 @@ class CFX_Barcode {
BC_TYPE GetType();
FX_BOOL Encode(const CFX_WideStringC& contents, FX_BOOL isDevice, int32_t& e);
FX_BOOL RenderDevice(CFX_RenderDevice* device,
- const CFX_Matrix* matirx,
+ const CFX_Matrix* matrix,
int32_t& e);
FX_BOOL RenderBitmap(CFX_DIBitmap*& pOutBitmap, int32_t& e);
CFX_WideString Decode(uint8_t* buf,