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

Side by Side Diff: skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc

Issue 2854163002: More missing Skia includes (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | 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 // 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 #include "base/files/file_util.h" 5 #include "base/files/file_util.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 #include "base/test/test_discardable_memory_allocator.h" 7 #include "base/test/test_discardable_memory_allocator.h"
8 #include "third_party/skia/include/core/SkBitmap.h"
8 #include "third_party/skia/include/core/SkCanvas.h" 9 #include "third_party/skia/include/core/SkCanvas.h"
9 #include "third_party/skia/include/core/SkFlattenableSerialization.h" 10 #include "third_party/skia/include/core/SkFlattenableSerialization.h"
10 #include "third_party/skia/include/core/SkImageFilter.h" 11 #include "third_party/skia/include/core/SkImageFilter.h"
11 12
12 namespace { 13 namespace {
13 14
14 static const int BitmapSize = 24; 15 static const int BitmapSize = 24;
15 16
16 bool ReadTestCase(const char* filename, std::string* ipc_filter_message) { 17 bool ReadTestCase(const char* filename, std::string* ipc_filter_message) {
17 base::FilePath filepath = base::FilePath::FromUTF8Unsafe(filename); 18 base::FilePath filepath = base::FilePath::FromUTF8Unsafe(filename);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 if (!ReadAndRunTestCase(argv[i], bitmap, &canvas)) 85 if (!ReadAndRunTestCase(argv[i], bitmap, &canvas))
85 ret = 2; 86 ret = 2;
86 87
87 // Cluster-Fuzz likes "#EOF" as the last line of output to help distinguish 88 // Cluster-Fuzz likes "#EOF" as the last line of output to help distinguish
88 // successful runs from crashes. 89 // successful runs from crashes.
89 printf("#EOF\n"); 90 printf("#EOF\n");
90 91
91 return ret; 92 return ret;
92 } 93 }
93 94
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698