diff options
author | Lei Zhang <thestig@chromium.org> | 2015-06-13 00:58:06 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-06-13 00:58:06 -0700 |
commit | 95e854f3d8a6e1971b4538cc57c6e7c533b4aaed (patch) | |
tree | b2d45762d4670ef93321bc6a464946a93cc7e8b0 /core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp | |
parent | a6d9f0edce07194f551db4c38bb427fbf7d550cf (diff) | |
download | pdfium-95e854f3d8a6e1971b4538cc57c6e7c533b4aaed.tar.xz |
Remove trailing whitespaces in core, XFA edition.
Review URL: https://codereview.chromium.org/1180333002.
Diffstat (limited to 'core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp')
-rw-r--r-- | core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp index 8a20b46805..5748e23efe 100644 --- a/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp +++ b/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "../../../include/fpdfapi/fpdf_render.h" @@ -674,7 +674,7 @@ FX_BOOL _CheckCoonTensorPara(const CPDF_MeshStream &stream) stream.m_nCoordBits == 24 || stream.m_nCoordBits == 32 ); - FX_BOOL bCompBits = ( stream.m_nCompBits == 1 || + FX_BOOL bCompBits = ( stream.m_nCompBits == 1 || stream.m_nCompBits == 2 || stream.m_nCompBits == 4 || stream.m_nCompBits == 8 || @@ -685,7 +685,7 @@ FX_BOOL _CheckCoonTensorPara(const CPDF_MeshStream &stream) stream.m_nFlagBits == 4 || stream.m_nFlagBits == 8 ); - return bCoorBits && bCompBits && bFlagBits; + return bCoorBits && bCompBits && bFlagBits; } static void _DrawCoonPatchMeshes(FX_BOOL bTensor, CFX_DIBitmap* pBitmap, CFX_AffineMatrix* pObject2Bitmap, @@ -706,7 +706,7 @@ static void _DrawCoonPatchMeshes(FX_BOOL bTensor, CFX_DIBitmap* pBitmap, CFX_Aff if (!_CheckCoonTensorPara(stream)) { return; } - + CPDF_PatchDrawer patch; patch.alpha = alpha; patch.pDevice = &device; |