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

Side by Side Diff: samples/image_diff_png.cc

Issue 1747123002: Fix and enable lint checks. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 | « fpdfsdk/src/javascript/JS_Value.cpp ('k') | samples/pdfium_test.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium 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 // This is a duplicate of chromium's src/tools/imagediff/image_diff_png.cc 5 // This is a duplicate of chromium's src/tools/imagediff/image_diff_png.cc
6 // that has been modified to build in a pdfium environment, which itself 6 // that has been modified to build in a pdfium environment, which itself
7 // was duplicated as follows: 7 // was duplicated as follows:
8 8
9 // This is a duplicate of ui/gfx/codec/png_codec.cc, after removing code related 9 // This is a duplicate of ui/gfx/codec/png_codec.cc, after removing code related
10 // to Skia, that we can use when running layout tests with minimal dependencies. 10 // to Skia, that we can use when running layout tests with minimal dependencies.
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 int width, 634 int width,
635 int height, 635 int height,
636 int row_byte_width, 636 int row_byte_width,
637 bool discard_transparency, 637 bool discard_transparency,
638 std::vector<unsigned char>* output) { 638 std::vector<unsigned char>* output) {
639 return Encode(input, FORMAT_BGRA, 639 return Encode(input, FORMAT_BGRA,
640 width, height, row_byte_width, discard_transparency, 640 width, height, row_byte_width, discard_transparency,
641 std::vector<Comment>(), output); 641 std::vector<Comment>(), output);
642 } 642 }
643 643
644 } // image_diff_png 644 } // namespace image_diff_png
OLDNEW
« no previous file with comments | « fpdfsdk/src/javascript/JS_Value.cpp ('k') | samples/pdfium_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698