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

Side by Side Diff: core/src/fxcodec/lbmp/fx_bmp.cpp

Issue 1730553002: Fixing whitespace lint errors. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review fixes Created 4 years, 10 months 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 unified diff | Download patch
« no previous file with comments | « core/src/fxcodec/lbmp/fx_bmp.h ('k') | core/src/fxcodec/lgif/fx_gif.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "core/src/fxcodec/lbmp/fx_bmp.h" 7 #include "core/src/fxcodec/lbmp/fx_bmp.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 #ifdef BMP_SUPPORT_BITFIELD 948 #ifdef BMP_SUPPORT_BITFIELD
949 _bmp_encode_bitfields(bmp_ptr, dst_buf, dst_size); 949 _bmp_encode_bitfields(bmp_ptr, dst_buf, dst_size);
950 #endif 950 #endif
951 break; 951 break;
952 case BMP_RLE8: 952 case BMP_RLE8:
953 _bmp_encode_rle8(bmp_ptr, dst_buf, dst_size); 953 _bmp_encode_rle8(bmp_ptr, dst_buf, dst_size);
954 break; 954 break;
955 case BMP_RLE4: 955 case BMP_RLE4:
956 _bmp_encode_rle4(bmp_ptr, dst_buf, dst_size); 956 _bmp_encode_rle4(bmp_ptr, dst_buf, dst_size);
957 break; 957 break;
958 default:; 958 default:
959 break;
959 } 960 }
960 bmp_ptr->file_header.bfSize = dst_size; 961 bmp_ptr->file_header.bfSize = dst_size;
961 WriteFileHeader(&bmp_ptr->file_header, dst_buf); 962 WriteFileHeader(&bmp_ptr->file_header, dst_buf);
962 return TRUE; 963 return TRUE;
963 } 964 }
OLDNEW
« no previous file with comments | « core/src/fxcodec/lbmp/fx_bmp.h ('k') | core/src/fxcodec/lgif/fx_gif.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698