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

Side by Side Diff: tools/pinspect.cpp

Issue 1760583003: Remove unused tools and unused includes of SkImageDecoder (Closed) Base URL: https://skia.googlesource.com/skia.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 | « tools/lua/lua_pictures.cpp ('k') | tools/skiaserve/skiaserve.cpp » ('j') | 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 2012 Google Inc. 2 * Copyright 2012 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 7
8 #include "SkBitmap.h" 8 #include "SkBitmap.h"
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkGraphics.h" 10 #include "SkGraphics.h"
11 #include "SkOSFile.h" 11 #include "SkOSFile.h"
12 #include "SkImageDecoder.h"
13 #include "SkPicture.h" 12 #include "SkPicture.h"
14 #include "SkStream.h" 13 #include "SkStream.h"
15 #include "SkString.h" 14 #include "SkString.h"
16 #include "SkDumpCanvas.h" 15 #include "SkDumpCanvas.h"
17 16
18 static SkPicture* inspect(const char path[]) { 17 static SkPicture* inspect(const char path[]) {
19 SkFILEStream stream(path); 18 SkFILEStream stream(path);
20 if (!stream.isValid()) { 19 if (!stream.isValid()) {
21 printf("-- Can't open '%s'\n", path); 20 printf("-- Can't open '%s'\n", path);
22 return nullptr; 21 return nullptr;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 80 }
82 } 81 }
83 return 0; 82 return 0;
84 } 83 }
85 84
86 #if !defined SK_BUILD_FOR_IOS 85 #if !defined SK_BUILD_FOR_IOS
87 int main(int argc, char * const argv[]) { 86 int main(int argc, char * const argv[]) {
88 return tool_main(argc, (char**) argv); 87 return tool_main(argc, (char**) argv);
89 } 88 }
90 #endif 89 #endif
OLDNEW
« no previous file with comments | « tools/lua/lua_pictures.cpp ('k') | tools/skiaserve/skiaserve.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698