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

Side by Side Diff: tools/skdiff_main.cpp

Issue 1707213002: Move SkTDArray to private. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « tools/skdiff.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 #include "skdiff.h" 7 #include "skdiff.h"
8 #include "skdiff_html.h" 8 #include "skdiff_html.h"
9 #include "skdiff_utils.h" 9 #include "skdiff_utils.h"
10 #include "SkBitmap.h" 10 #include "SkBitmap.h"
11 #include "SkData.h" 11 #include "SkData.h"
12 #include "SkForceLinking.h" 12 #include "SkForceLinking.h"
13 #include "SkImageDecoder.h" 13 #include "SkImageDecoder.h"
14 #include "SkImageEncoder.h" 14 #include "SkImageEncoder.h"
15 #include "SkOSFile.h" 15 #include "SkOSFile.h"
16 #include "SkStream.h" 16 #include "SkStream.h"
17 #include "SkTDArray.h" 17 #include "../private/SkTDArray.h"
18 #include "../private/SkTSearch.h" 18 #include "../private/SkTSearch.h"
19 19
20 #include <stdlib.h> 20 #include <stdlib.h>
21 21
22 __SK_FORCE_IMAGE_DECODER_LINKING; 22 __SK_FORCE_IMAGE_DECODER_LINKING;
23 23
24 /** 24 /**
25 * skdiff 25 * skdiff
26 * 26 *
27 * Given three directory names, expects to find identically-named files in 27 * Given three directory names, expects to find identically-named files in
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 // range [0...255] are wrapped (mod 256). Do the conversion ourselves, to 851 // range [0...255] are wrapped (mod 256). Do the conversion ourselves, to
852 // make sure that we only return 0 when there were no failures. 852 // make sure that we only return 0 when there were no failures.
853 return (num_failing_results > 255) ? 255 : num_failing_results; 853 return (num_failing_results > 255) ? 255 : num_failing_results;
854 } 854 }
855 855
856 #if !defined SK_BUILD_FOR_IOS 856 #if !defined SK_BUILD_FOR_IOS
857 int main(int argc, char * const argv[]) { 857 int main(int argc, char * const argv[]) {
858 return tool_main(argc, (char**) argv); 858 return tool_main(argc, (char**) argv);
859 } 859 }
860 #endif 860 #endif
OLDNEW
« no previous file with comments | « tools/skdiff.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698